[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Re: dd blocks/bytes at a time

From: Paul Eggert
Subject: Re: [PATCH] Re: dd blocks/bytes at a time
Date: Thu, 21 Dec 2006 12:18:40 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Jim Meyering <address@hidden> writes:

> I'm beginning to think GNU dd should at least warn about
> the portability problem.

Well, the POSIX spec is pretty clear, and the POSIX tradition is that
option order normally should not matter.  Note also that BSD dd
rejects usages like "dd ibs=10 bs=3" where coreutils 6.7 dd silently
conforms to POSIX.  So I'd be inclined to go with the patch I already
submitted, and simply be compatible with Solaris (and I assume most
other SVR4 hosts).

But if we do put in a warning, I'd say the warning should be disabled
if POSIXLY_CORRECT is set, and that it should also warn about usages
like dd ibs=10 bs=3 that coreutils 6.7 dd accepts but BSD dd does not.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]