Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Shell script - replace paragragh
Name: Mondragon Date: May 26, 2005 at 02:27:22 Pacific OS: Unix CPU/Ram: AMD 64k
Comment:
Hi,
I have a problem where I need to extract several paragraphs beginning with the string "Start" and ending with the string "End". Is there anyway this can be done using sed?
Summary: hello all, I have a file which has a string as follows:- bin i want 2 write a shell script which will replace this by /home/sandeep/bin. This should be interactive if possible. Sorry if it is 2ooo ...
Summary: hi, i have an entry: FileName=/home/mqm/adr10098/sample.dat in a file. I want to open this file, search for "FileName=" and then replace the value with someother value(eg: /home/mqm/adr10098/another.d...
Summary: Hi all, How can I develop shell script to replace line. for example ========================== xxxxxxxxx yyyyyyyy zzzzzzzzz dd fffffff gffff dddddd zzz ddf rr44w fertt dd fffffff ...