bug-coreutils
[Top][All Lists]
Advanced

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

Re: [Wishlist] dd: per-block skip data option


From: Theodoros V. Kalamatianos
Subject: Re: [Wishlist] dd: per-block skip data option
Date: Mon, 31 Oct 2005 10:20:11 +0200 (EET)

On Sun, 30 Oct 2005, Paul Eggert wrote:

Solaris dd already uses oseek= for something else, so different option
names should be chosen.  Perhaps ibskip= and obseek= for skipping
before each block (in effect, punning on ibs and iseek and obs and
oseek), and ibskiptail= and obseektail= for skipping after each block.
Or perhaps you can think of better names.

I was thinking to have the following:

bseek=BYTES     skip BYTES bytes at start of output\n\
bskip=BYTES     skip BYTES bytes at start of input\n\
obseek=M[,N]    skip M bytes at start of each output block and N bytes after
ibskip=M[,N]    skip M bytes at start of each input block and N bytes after

I found the *tail names too long for day-to-day usage. Perhaps if we could find a shorter name, I could drop the second numeric argument in favour of a separate option.

It seems like a reasonable addition to me, though someone would have
to write it.  The documentation would be the hard part, I think.

Well, I am in the process of writing some proof-of-concept code right now. As for the documentation...ehmm...ummm...emm... :-)

Regards,

Theodoros Kalamatianos




reply via email to

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