scripting

marc brady mandrakeexpert at expressindustrial.com.au
Thu May 16 22:13:58 PDT 2002


I tried both of them but it will erase any other text that is already on the 
file

marc

both of those did it

I am talking about writeing to an already existing file





On Thursday 16 May 2002 01:09 pm, you wrote:
> > How could I write a script to input 1 line of text into a file with
> > out
> > removeing any of the rest of the text already in the file?
>
> echo text_here >> file
>
> or
>
> cat >> file << "EOF"
> text_here
> EOF

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list