09-12-2006
You have to use a version that isn't dynamically linked.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hai everybody,
i am new to scripting,i have to replace a value with another value ina script...both the values i have got in two seperate variables...can anyone give me the syntax how to do this in a shell script...
ie.
e1=$5,e2=$6
v2=$1,v3=$7
now i want to... (2 Replies)
Discussion started by: Babu
2 Replies
2. UNIX for Advanced & Expert Users
I need a shell which makes a search of an UNIX script and them modifies. :confused:
vi $(grep -l 5 $(find . -name 'vellon.bcf' -print)) (1 Reply)
Discussion started by: jvellon
1 Replies
3. Shell Programming and Scripting
Hello all,
I try to create a bash script but till now without any positiv results.
The script should replace different variables in a text file with the right xml values
Look at the following xml file:
file.xml
===================================
<?xml version="1.0"... (14 Replies)
Discussion started by: research3
14 Replies
4. Shell Programming and Scripting
I need a little help with a shell script. I want to be able to specify parameters so that the script searches multiple files (specified as parameters) and only modifies the file if it finds the string of text. For the files it doesn't find the string of text within, it should leave it alone.
... (4 Replies)
Discussion started by: joebaber
4 Replies
5. Shell Programming and Scripting
for example
the last command i run is:
tail -f 2010123114_mta2.wmwm.com_postfix-MDAD.log | grep XXXX
and i want to raplace '2010123114' with '2010123115', and i don't want to go back to the position and delete 4 and add 5
is there a way to replace a string? like
!!//123114/123115
or... (1 Reply)
Discussion started by: wljackhero
1 Replies
6. Shell Programming and Scripting
Hello ,
I am trying to replace a pattern in shell script , basically there is a file with the list of tables like
A.DAT
B.DAT
C.DAT ..
I will need to replace a prefix for the list
TESTA.DAT
TESTB.DAT
TESTC.DAT
Do I need to use <tr> or sed , I am not sure whether I need to... (4 Replies)
Discussion started by: Shanks
4 Replies
7. Shell Programming and Scripting
Friends,
I have more than 1000 lines in text file which needs to be converted as UPPERCASE by adding _
com.sun.url=www.sun.com
com.ssl.port=808
com.ui.path=/apps/ssi
Expected output
com.sun.url=_COM.SUN.URL_
com.ssl.port=_COM.SSL.PORT_
com.ui.path=_COM.UI.PATH_
Thanks in... (4 Replies)
Discussion started by: baluchen
4 Replies
8. Shell Programming and Scripting
I have a server.xml in about 50 instances of JBOSS servers which has
the following line
<Engine defaultHost="localhost" name="jboss.web">
I need to append something into this line based on the hostname . For example hostname
abcdprod40j.corp.abc.net
<Engine defaultHost="localhost"... (1 Reply)
Discussion started by: gubbu
1 Replies
9. Shell Programming and Scripting
Hi,
Probably this is a out of scope of the thread. I have a requirement as below
I have a file with below content
CMD //DS > testfile
I have to replace //DS with a value which is assigned to a variable outside using awk gsub.
For example var=TEST
I expect an output as
CMD TEST... (1 Reply)
Discussion started by: Ratheesh Nair
1 Replies
10. Shell Programming and Scripting
Hi,
I need to replace the space " " with underscore "_" using shell scripting. The data are inside the text file. Is there are any simple code to that.? (3 Replies)
Discussion started by: gopishrine
3 Replies