Re: csh question..

2003-03-16 Thread Chris P
How about an example? I know only know sed for replacing things, not inserting a new line into a file in a specific place, even though the info around it changes. C. On Sun, 16 Mar 2003, doug wrote: sed On Sat, 15 Mar 2003, Chris P wrote: Hello.. Not really a freebsd question, but

Re: csh question..

2003-03-16 Thread Viktor Lazlo
On Sun, 16 Mar 2003, Chris P wrote: How about an example? I know only know sed for replacing things, not inserting a new line into a file in a specific place, even though the info around it changes. On Sat, 15 Mar 2003, Chris P wrote: Hello.. Not really a freebsd question,

csh question..

2003-03-15 Thread Chris P
Hello.. Not really a freebsd question, but still a good forum to ask this. How would I insert a line into a file via a csh script. example... I have a file that is generated via the script, and I need to insert a line between line 1 and 2. I could do it via a head, or tail statement, and alot

Re: csh question..

2003-03-15 Thread doug
sed On Sat, 15 Mar 2003, Chris P wrote: Hello.. Not really a freebsd question, but still a good forum to ask this. How would I insert a line into a file via a csh script. example... I have a file that is generated via the script, and I need to insert a line between line 1 and 2. I