07-07-2009
this is not working
outpur is same
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how can I tell when a ftp/sftp file has completed - I'm having trouble by picking up a file that is still being transferred to - is there a better way to transfer files across systems??? (4 Replies)
Discussion started by: jph
4 Replies
2. UNIX for Advanced & Expert Users
Hi
i have question, is this ok in ksh, like
while ]
do
something
read true
done
loop runs but never ends even i pass y/Y.
can any body please resolve it (4 Replies)
Discussion started by: Raom
4 Replies
3. Shell Programming and Scripting
Hi Everyone,
Please help me with this. I have gone through many posts here but couldn't find what I wanted.
I have a file with 79000+ lines and I want to delete lines in a pattern.
I want to delete every 141st line in the file, starting from line 2000 till 50000.
Please help guys.
... (8 Replies)
Discussion started by: max29583
8 Replies
4. Shell Programming and Scripting
Hi All ,
Given a file , I need to delete , modify and insert lines matching certain patterns in that file using shell scripting.
e.g. If a file FILE1 has following content :
CUST.ABC.DEF = CUST.ABC.DEF * CUST.ABC.DEF
PRINTF(CUST.ABC.DEF)
CUST.ABC.DEF = mid(CUST.ABC.DEF,10.34)... (5 Replies)
Discussion started by: swapnil.nawale
5 Replies
5. Shell Programming and Scripting
Hi i need an help. I have two files list1 and list2, both contains the server names i want to delete the servers in list2 which were also found in list1.
for an eg
list2 list1
oradg1 oradg4
oradg2 oradg2
oradg3 ... (5 Replies)
Discussion started by: sudharson
5 Replies
6. Shell Programming and Scripting
example:
comment Now_TB.table column errac is for error messages
1 - first
2 - second
3 -third ;
in this example I need to be able to grab the comment as first word and ; as the last word and it might span a few lines. I need it to be put all in one line without line breaks so I can... (4 Replies)
Discussion started by: wambli
4 Replies
7. Shell Programming and Scripting
Hi,
I am in stage of post processing some of my results. I wanted to plot the data against the three axis x,y,z. The data file is quite complicated and i have to take the average of x, y,z over different steps of my test. A typical file look like below:
Time taken:4s
No.of series : 3... (6 Replies)
Discussion started by: begin_shell
6 Replies
8. Shell Programming and Scripting
I am new to bash/shell scripting.
I want to find all the files in directory and subdirectories, which are not ends with “.zip” and which are contains in the file name “*.log*” or “*.out*”.
I know below command to get the files which ends with “.log”; but I need which are not ends with this... (4 Replies)
Discussion started by: Mallikgm
4 Replies
9. UNIX for Dummies Questions & Answers
My files look like this
I need to remove the sequence GGGAAA and anything before that
I also need to remove the sequence AGCCCTA and anything after that
So I will end up with something like this
The left side is done but I cannot get the right side correctly. I would like to use... (3 Replies)
Discussion started by: Xterra
3 Replies
10. Shell Programming and Scripting
I am trying to combine lines with these conditions:
1. First line starts with text of "libname VALUE db2 datasrc" where VALUE can be any text.
2. If condition1 is met then continue to combine lines through a line that ends with a semicolon.
3. Ignore case when matching patterns and remove any... (5 Replies)
Discussion started by: Wes Kem
5 Replies
LEARN ABOUT DEBIAN
casparize
casparize(1) USER COMMANDS casparize(1)
NAME
casparize - Set up caspar Makefile in a new directory
SYNOPSIS
casparize dir (/path/to/config/dir)
casparize file (/path/to/config/dir/file)
DESCRIPTION
casparize creates a new configuration working directory in your current working directory, sets up a Makefile for caspar(7) in this new
directory, and optionally copies an original configuration file from its original system place to the newly created configuration working
directory.
USAGE
You typically use casparize when you already have created the root configuration working directory with its include directory and install.mk
Caspar include file. By analysing your current working directory and the configuration directory path you give on the command line, cas-
parize can deduce the contents of the Makefile in the newly created configuration working directory. It creates the new directory, creates
the correct Makefile, and optionally copies the given configuration file in the new directory, ready for its first version commit.
EXAMPLES
A typical example:
$ cd <svn>/etc
$ casparize /etc/postfix/main.cf
creates the directory <svn>/etc/postfix, creates <svn>/etc/postfix/Makefile including the proper content, and copies /etc/postfix/main.cf
into <svn>/etc/postfix/main.cf. You can now directly add and commit the new directory.
BUGS
Non known at this moment.
AUTHOR
Jeroen Hoppenbrouwers
SEE ALSO
caspar(7) The caspar homepage is at http://mdcc.cx/caspar/ .
casparize 20120508 8 mai 2012 casparize(1)