[Top][All Lists]

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

Re: [patch #4978] hexadecimal support for dd

From: Paul Eggert
Subject: Re: [patch #4978] hexadecimal support for dd
Date: Thu, 23 Mar 2006 11:49:38 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> dd if=/dev/zero of=test bs=$((0xe0000)) count=1

This is a good suggestion; thanks.

dd could support 'dd bs=0xe0000' as a pure extension to POSIX, since
POSIX requires that the operands of 'x' must be positive.  However,
that's pretty flaky, and I'd rather not do that.  (Try parsing "dd
bs=0xe0000x10x0x10" in your head. :-)

Given that a POSIX shell has an easy way to address this issue,
perhaps we should just leave things be.

reply via email to

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