GNU bug report logs - #7362
dd strangeness

Previous Next

Package: coreutils;

Reported by: Lucia Rotger <lucia <at> aircomp.aero>

Date: Wed, 10 Nov 2010 10:26:01 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 7362 <at> debbugs.gnu.org
Subject: bug#7362: dd strangeness
Date: Fri, 25 Feb 2011 09:29:24 -0800
On 02/25/2011 04:19 AM, Pádraig Brady wrote:

> Attached is a proposed solution to this.

My kneejerk reaction is that it tries to do too much inferring,
and ends up being more complicated than giving the user more control.

If we're going to change the default to be not compatible with POSIX,
we need to give the user a way to get the POSIX behavior, something
that's less subtle than POSIXLY_CORRECT.  I suggest that we add
a new option that is the inverse of "fullblock".  We can call it
"partblock", say.

Then, we can say that the default is "fullblock" normally, but it is
"partblock" if POSIXLY_CORRECT and if bs= is given and if no conversions
other than sync, noerror, and notrunk are given.

Anyway, I'm just thinking out loud to some extent, and further
comments are welcome.




This bug report was last modified 14 years and 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.