append to a text file

Adam Myrow amyrow at midsouth.rr.com
Sat Sep 6 07:41:53 EDT 2003


On Sat, 6 Sep 2003, Chuck Hallenbeck wrote:

> Granted, the double greater-than is dangerous because it is easy
> to forget to double it, which means you kiss the older stuff
> bye-bye, but we already know that Linux assumes you know what you
> are doing.

For the paranoid, most shells (including Bash,) have a feature to prevent
this.  In Bash, you can do "set -o noclobber" and it won't let you
overwrite files in this fashion.





More information about the Speakup mailing list