[Top][All Lists]

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

Re: coreutils-5.92 - dd skip option completely broken

From: Paul Eggert
Subject: Re: coreutils-5.92 - dd skip option completely broken
Date: Wed, 02 Nov 2005 10:35:27 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Jim Meyering <address@hidden> writes:

> I'd prefer that it go in tests/dd/skip-seek, partly because
> the name fits, and also because I want to move away from
> bourne-shell-based tests -- at least when it's easy to do so.

OK.  However, I can't easily see how to modify that file to do the
test I want.  Here's the shell-command test I'd like to run:

test "`echo abc | dd bs=1 skip=1 | cat`" = bc

where the output of "dd" is a pipe.  But I don't offhand see how to do
that in tests/dd/skip-seek.  (Sorry, my Perl is a bit rusty....)

reply via email to

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