bug-coreutils
[Top][All Lists]
Advanced

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

bug#14897: dd skip exit code


From: Bernhard Voelker
Subject: bug#14897: dd skip exit code
Date: Thu, 18 Jul 2013 17:16:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

On 07/18/2013 05:02 PM, Pádraig Brady wrote:
> /* POSIX doesn't say what to do when dd detects it has been
>    asked to skip past EOF, so I assume it's non-fatal.

OTOH, POSIX says:
(http://pubs.opengroup.org/onlinepubs/009695399/utilities/dd.html)

  [...] If some other error is detected, a diagnostic message shall
  be written and the copy operation shall be discontinued.

Hmm, whatever they mean with "some other error" - couldn't this
be such a seek-on-input failure?

Have a nice day,
Berny







reply via email to

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