Re: Redirect stdout without clobbering?
On 7 May 2010 14:48, Javier Barroso <email@example.com> wrote:
> On Thu, May 6, 2010 at 6:26 PM, Dotan Cohen <firstname.lastname@example.org> wrote:
>> Is there a way to redirect stdout to a file without clobbering its
>> possibly-existing contents? Rather, the output should be appended to
>> the end of the file. Thanks.
> Maybe you would like to hear about noclober option in bash (set -o
> noclobber) that will force you to not overwrite any file
Thanks, Javier! You are right, I went through the bash manpage and
searched for clobber, sure enough!
It looks like I need to read that whole document, there is some good
info in there. Thank you!