On Tuesday, Aug 23rd 2005 at 14:34 -0400, quoth Steven W. Orr:

=>40 Quatloos to the winner.
=>
=>Here's what I need:
=>
=>Look for a marker in a file and delete the line with the marker. Then insert
=>file2 at that location.
=>
=>I have
=>
=>sed '/MARKER/d' file
=>and I have
=>sed '/MARKER/r file2' file
=>but I'd like to just put the two together in one sed command. (Two -e options
=>don't count.)
=>
=>Anyone? :-(

Thanks to Michael ODonnell, and Kevin Clark :-)

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net
_______________________________________________
gnhlug-discuss mailing list
[email protected]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss

Reply via email to