dd oflag=append : imply notrunc, or improve documentation


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373736

On Mon, Jun 26, 2006 at 12:18:46PM -0400, Michael Stone wrote:
>
> You probably want conv=notrunc

uh! thanks for the tip

but still I see some kind of bug in this, lets say
a documentation bug

1) conv=???? is supposed to be
   "convert the file as per the comma separated symbol list"

 IMHO, "do not truncate the output file" is not a conversion
 in any possible imaginable way; I would understand more
 if it was  "oflag=notrunc"

2) what is the use of  "oflag=append" when one forgets
 "conv=notrunc"

So I propose some improvements:

a) add oflag=notrunc
 (leaving conv=notrunc for back compatibility)

b) oflag=append implies conv=notrunc

c) a line may be added in the man page, saying that
 oflag=append is useless w/o conv=notrunc

I will retitle the bug

a.

--
Andrea Mennucc
 

Leave a Reply

Your email address will not be published. Required fields are marked *