From: Javier Barroso on 7 May 2010 07:50 On Thu, May 6, 2010 at 6:26 PM, Dotan Cohen <dotancohen(a)gmail.com> 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 Regards, -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/o2p81c921f31005070448s142eeef6kdb2da7a4b2756ba0(a)mail.gmail.com
From: Dotan Cohen on 7 May 2010 10:20 On 7 May 2010 14:48, Javier Barroso <javibarroso(a)gmail.com> wrote: > On Thu, May 6, 2010 at 6:26 PM, Dotan Cohen <dotancohen(a)gmail.com> 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! -- Dotan Cohen http://bido.com http://what-is-what.com -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/n2j880dece01005070709p3dabf46o61f8091e1d4c51f8(a)mail.gmail.com
First
|
Prev
|
Pages: 1 2 Prev: grub-pc should add resume as kernel/boot-option to make hibernate work Next: DIF G4E620-N MB |