[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] status=noinfo option for dd
From: |
Ondřej Vašík |
Subject: |
Re: [PATCH] status=noinfo option for dd |
Date: |
Fri, 19 Feb 2010 10:31:26 +0100 |
Hi,
Pozsar Balazs wrote:
> New (hopefully better) version of the patch.
>
> dd: status=noinfo operand suppresses the transfer count information
> when the program exits.
I think that option does not follow POSIX.
Similar thing was requested this week at
https://bugzilla.redhat.com/show_bug.cgi?id=566079 , I suggested some
wrapper script to achieve this.
dd POSIX says:
"
On completion, dd shall write the number of input and output blocks to
standard error. In the POSIX locale the following formats shall be used:
...
In addition, when there is at least one truncated block, the number of
truncated blocks shall be written to standard error. In the POSIX
locale, the format shall be:
"
With this option, it will not output POSIX-required informations on
stderr on completition and therefore it should not be possible to
supress those informations (at least with POSIXLY_CORRECT but doing
additionally this hack looks silly to me)
Greetings,
Ondřej Vašík
signature.asc
Description: Toto je digitálně podepsaná část zprávy