Results 1 to 2 of 2
Hi all,
can any one help me with the hint for :
How to replace a line containing some word by only another word...
Ex:
The sed program is the ...
- 10-16-2010 #1Just Joined!
- Join Date
- Oct 2010
- Posts
- 3
replace a line containing particular string using sed
Hi all,
can any one help me with the hint for :
How to replace a line containing some word by only another word...
Ex:
The sed program is the Linux stream editor utility
The pattern is a regular expression that you wish
to match and replacement is the new string to ..
replace the line containing 'program' by only word LINUX
- 10-16-2010 #2
its against forum rules to ask homework questions, if you have a particular question about sed feel free to ask
this is probably the most simple operation for sed that you are detailing, you would be able to solve it by reading the sed tutorial on The Linux Documentation Project or the sed man page


