dd oflag=append : imply notrunc, or improve documentation


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

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


Andrea Mennucc

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: