10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i need to replace the url1 inside <remote> tag in below xml in first instance and in the second instance with url2.
any help appreciated
... (4 Replies)
Discussion started by: madankumar.t@hp
2. UNIX for Dummies Questions & Answers
I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL.
I need the whole word... (6 Replies)
Discussion started by: chicchan
3. Shell Programming and Scripting
I am looking for a simple way for replacing all the files under a directory that use the server "xsgd1234dap" with "xsdr3423pap".
In the Directory,
$ grep -l "xsgd1234dap" *.sh | wc -l
I have "119" files that are still using... (5 Replies)
Discussion started by: filter
4. Shell Programming and Scripting
family balance >>>>>
java.io.FileNotFoundException: Settings.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at... (2 Replies)
Discussion started by: linuxadmin
5. Shell Programming and Scripting
I have to search a word in a text file and then I have to delete lines above from the word searched . For eg suppose the file is like this:
abc:324234 (2 Replies)
Discussion started by: vsachan
6. Shell Programming and Scripting
I have a file with hundreds of lines, some of the lines have word INITIAL followed by some numbers like
....INITIAL 1234535 ....
....INITIAL 5768644 ....
I would like to replace the number after word INITLA with 4K how can I do it? Cant get my heard around this! The string is always... (3 Replies)
Discussion started by: halacil
7. Shell Programming and Scripting
I have a file which has foll contents scattered:
CalDayRunDt = '2010-07-21'
I want to replace 2010-07-21 that starts after ' and ends before... (8 Replies)
Discussion started by: indrajit_u
8. UNIX for Dummies Questions & Answers
I am trying to find words in a text with a certain ending with sed and replace them with themselves but wrapped in tabs
ex.: The fish swims in the water. -> searching for -ms ending
The fish <tab>swims<tab>in the water.
I've been trying all sorts of commands and get either an error... (5 Replies)
Discussion started by: stinnes
9. Shell Programming and Scripting
How can i replace a particular word from string i.e.
what i am trying to do that first i'll search if $var catains #wrd or not.
if it contains then i've to replace $wrd with $rep_wrd.
I have tried following
t="shiv... (5 Replies)
Discussion started by: jadoo_c2
10. Shell Programming and Scripting
this belongs a little to my other post but only at the starting point.
find -name "*.htm*" i got a list like this:
./2000/file1.html... (2 Replies)
Discussion started by: Tonda