[darcs-users] can we get rid of perl requirement in our test suite?
Matthias Kilian
kili at outback.escape.de
Sat May 16 08:26:03 UTC 2009
On Sat, May 16, 2009 at 06:06:52PM +1000, Trent W. Buck wrote:
> > # The Unix classic for creating a file with all zeros
> > dd if=/dev/zero of=file bs=1k count=1024
>
> In that case you might as well make it sparse:
>
> dd bs=1 count=0 seek=1M of=sparsefile
That's not portable. Multipliers only apply to bs=, cbs=, ibs= and
obs=, and only the only multipliers allowed are k and b (and general
multiplication using x).
dd bs=1k count=0 seek=1024 of=sparsefile
would be more portable.
Ciao,
Kili
--
Ja, ich habe schlecht geschlafen, nach muede kommt bei mir immer doof!
-- Thorsten Guesen
More information about the darcs-users
mailing list