echo test >> test.txt

appends the word "test" at the bottom of a file called "test.txt"

How do you pipe text to the top of a file?

You could use the custom print command to
pipe the file into a temp file and then cat the file you want to append to
into that temp file, then overwrite the existing file. Ummm... there must be
a better way...Perl, anyone?

ross



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to