append to a text file
Christopher Moore
christopher.h.moore at verizon.net
Fri Sep 5 15:10:02 EDT 2003
Danny,
You need to save the file before you append it to the first file. I think
Buddy has the right idea but the files are reversed. The cat command
prints the contents of the specified file. The >> redirects the output
from the console to the end of the second file.
Chris
On Fri, Sep 05, 2003 at 03:00:39PM -0400, Buddy Brannan wrote:
> Try this:
> cat file-to-append-to >> file-to-append
> Note the two greater-thans. Better use both, else it'll overwrite the contents of the file rather than appending to it.
> --
> Buddy Brannan, KB5ELV/3 | But I will lay my burden
> Email: davros at ycardz.com | in the cradle of your grace,
> ICQ: 36621210 | And the shining beaches of your love,
> http://www.ycardz.com | and the sea of your embrace.--Dave Carter
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
More information about the Speakup
mailing list