08-08-2007
Guys,
As an extention to the above question, if i were to have say 10 files in a directory and i wish to change a string called "Myapp" to "Mydb", how do i do that ?
Thanks very much
Regards
G
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have a file which contains some line as follows,
9.9 TEMP
9.9 MUCOEFF
0.0 EPSILON
And I want to increase this MUCOEFF by 0.2 as
9.9 TEMP
10.1 MUCOEFF
0.0 ... (7 Replies)
Discussion started by: lorenzz
7 Replies
2. Shell Programming and Scripting
Hi,
using a shell script to get values from a CSV
eg:
12345.67,5678990.89,76232882.90
12345,5678990.89,76232882
Need the format of these numbers to change to
12,345.67:5,678,990.89:76,232,882.90
12,345:5678990.89:76232882
Using nawk on solaris, to parse these values, need the... (10 Replies)
Discussion started by: pgop
10 Replies
3. SCO
hi
My problem now is that if shipping options as -o length = 88
it says the following:
# lp -o length=88 -dhp4015 /etc/hosts
UX:lp: ERROR: The following options can't be handled:
-o length=
TO FIX: The printer(s) that otherwise qualify
for printing your request can't handle
one or more of... (2 Replies)
Discussion started by: Edgar Guevara
2 Replies
4. Shell Programming and Scripting
Hi,
i have the below files in the wrk folder. File names are
AAB0001.R
BBA0002.R
CCDC0003.R
AAB0002.R
AAB0034.R
BBA0081.R
DDDE0008.R
i need to change the file name USING pattern and number. output like below :wall:
AAB0001.R
AAB0002.R
AAB0003.R
BBA0001.R
BBA0002.R
CCDC0001.R... (3 Replies)
Discussion started by: krbala1985
3 Replies
5. Shell Programming and Scripting
in ksh.
Here is what I have working thanks to all of you. Now I need to take it one step further. The $result value needs to be in the $0000.00 format instead of what it is now, 000000. Yes, it is always 6 characters, I thought this would help but so far it has baffled me.
My thought... (3 Replies)
Discussion started by: CougarMutt
3 Replies
6. UNIX for Dummies Questions & Answers
I have a file which looks like this
01081023442 220000000410629994812279000001099952504280000000000000000000000000010050000000000 0000000000 0000000000 1101211221099952504280000010704525042800120000000000000000000000000000000000001 0000000000000006000000000000815500000010000010000000000000... (2 Replies)
Discussion started by: reignangel2003
2 Replies
7. Shell Programming and Scripting
Hi!
I just want to count number of files in a directory, and write to new text file, with number of files and their name
output should look like this,,
assume that below one is a new file created by script
Number of files in directory = 25
1. a.txt
2. abc.txt
3. asd.dat... (20 Replies)
Discussion started by: Akshay Hegde
20 Replies
8. Shell Programming and Scripting
I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (0 Replies)
Discussion started by: ust3
0 Replies
9. Shell Programming and Scripting
I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (7 Replies)
Discussion started by: ust3
7 Replies
10. Shell Programming and Scripting
Hi experts,
I am using KSH and I am need to display file with number in front of file names and user can select it by entering the number.
I am trying to use following command to display list with numbers. but I do not know how to capture number and identify what file it is to be used for... (5 Replies)
Discussion started by: mysocks
5 Replies
LEARN ABOUT DEBIAN
scapin
SCAPIN(1) CAO-VLSI Reference Manual SCAPIN(1)
NAME
scapin - Scan path insertion
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSIS
scapin [-VRB] [-P file] Input_name Path_name Output_name
DESCRIPTION
SCAPIN is an automatic scan path generator for gate level netlists. SCAPIN inserts a scan path in the netlist Input_name and drives a new
netlist Output_name. This scan path contains all registers specified in the file Path_name.path (see below for the exact syntax). SCAPIN
adds also 3 new connectors in the netlist: scan_in, scan_out and scan_test in order to control the scan path. Eventually SCAPIN adds an
output buffer before the output connector scan_out (option -B).
ENVIRONMENT VARIABLES
MBK_WORK_LIB(1)
indicates the path to the read/write directory for the session.
MBK_IN_LO(1)
indicates the input netlist file format.
MBK_OUT_LO(1)
indicates the output netlist file format.
SCAPIN_PARAM_NAME
indicates the location of a parameter file (with extention .scapin) containing the properties (ports name, models name etc ...)
of all cells needed for the scan path insertion. (see below for the exact syntax)
OPTIONS
-V Sets verbose mode on. Each step is displayed on the standard output.
-R All registers of the scan path are replaced by an equivalent scannable register cell (called reg-mux). (With the default option
a simple multiplexor is added just before all registers of the scan path).
-B Adds an output buffer before the output connector scan_out.
-P file Specifies a parameter file (with extention .scapin) containing the properties of all cells needed for the scan path insertion.
(see below for the exact syntax)
# Example of .scapin file
BEGIN_MUX
MUX_MODEL mx2_x2
MUX_SEL cmd
MUX_INPUT_SEL i1
MUX_INPUT_NSEL i0
MUX_VDD vdd
MUX_VSS vss
MUX_OUTPUT q
END_MUX
BEGIN_REG
REG_MODEL sff1_x4
REG_CLK ck
REG_INPUT i
REG_VDD vdd
REG_VSS vss
REG_OUTPUT q
REG_MUX mx2_x2
REG_REG_MUX sff2_x4
END_REG
BEGIN_REG_MUX
REG_MUX_MODEL sff2_x4
REG_MUX_SEL cmd
REG_MUX_INPUT_SEL i1
REG_MUX_INPUT_NSEL i0
REG_MUX_CLK ck
REG_MUX_VDD vdd
REG_MUX_VSS vss
REG_MUX_OUTPUT q
REG_MUX_MUX mx2_x2
REG_MUX_REG sff1_x4
END_REG_MUX
BEGIN_BUF
BUF_MODEL buf_x2
BUF_INPUT i
BUF_VDD vdd
BUF_VSS vss
BUF_OUTPUT q
END_BUF
Path_name Specifies a parameter file (with extention .path) containing an ordered list of all instances (registers) of the scan path. It
contains also the name of the 3 connectors scan_in, scan_out and scan_test. (see below for the exact syntax)
# Example of .path file
BEGIN_PATH_REG
cs_0
cs_1
cs_2
END_PATH_REG
BEGIN_CONNECTOR
SCAN_IN scin
SCAN_OUT scout
SCAN_TEST test
END_CONNECTOR
SEE ALSO
MBK_IN_LO(1). MBK_OUT_LO(1). MBK_WORK_LIB(1).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM
/LIP6 Juin 29, 2000 SCAPIN(1)