On Sun, Mar 23, 2014 at 05:20:29PM -0600, Theo de Raadt wrote:
> Fine with me.
>
> dd is often used in portable scripts. Do we need to document this
> as an extension, or has it already arrived in other implimentations?
>
it should be added to the note in STANDARDS describing the other
multipli
Freebsd:
If the number ends with a ``b'', ``k'', ``m'', ``g'',
or ``w'', the number is multiplied by 512, 1024 (1K), 1048576 (1M),
1073741824 (1G) or the number of bytes in an integer, respectively.
NetBSD:
Where sizes are specified, a decimal number of bytes is expected. Two or
more numbe
GNU dd definitely has it (along with the wholly-expected proliferation of other
useless units). It's definitely not called for by POSIX. IIRC, Solaris
supports some units but not others. HPUX doesn't support any units at all.
Don't know what other BSDs or AIX support.
-Adam
On March 23, 201
Fine with me.
dd is often used in portable scripts. Do we need to document this
as an extension, or has it already arrived in other implimentations?
> A gigabyte is like a megabyte, except it's bigger and better.
>
> This adds support for g/G suffixes. It also updates and corrects the
> comment
A gigabyte is like a megabyte, except it's bigger and better.
This adds support for g/G suffixes. It also updates and corrects the
comments in the source. Also move the goto label out of the if.
Index: args.c
===
RCS file: /cvs/src/b