[plug] Insert one file into another
Derek Fountain
derekfountain at yahoo.co.uk
Mon Dec 8 15:31:18 WST 2003
I have two text files, and I want to insert one into the other via a shell
script. That is, one file has a "marker" line containing something like
">>>>", and I want to delete that line and replace it with the contents of
the second file.
I'd normally do that from Perl - easy! - but in this case I need to do it from
very portable shell script. It's on Linux, so that means bash.
Shell scripting isn't my thing. Can someone tell me how to do this?
--
> eatapple
core dump
More information about the plug
mailing list