GNU bug report logs - #29012
od: add skip option

Previous Next

Package: coreutils;

Reported by: Christian Kögler <ck3d <at> gmx.de>

Date: Thu, 26 Oct 2017 15:27:01 UTC

Severity: wishlist

Tags: wontfix

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Christian Kögler <ck3d <at> gmx.de>, 29012 <at> debbugs.gnu.org
Subject: bug#29012: od: busy skip on block devices
Date: Thu, 26 Oct 2017 22:25:25 -0700
On 26/10/17 08:13, Christian Kögler wrote:
> If od is used on block devices together with skip, od reads the skipped bytes instead of seeking it.

Yes it has done that from the initial version.
Note od concatenates multiple files, and skips across
all of them, so consequently restricts itself to
seeking where it knows the file length (regular files).

I suppose we could try to seek if a single argument was specified.

As an alternative you could skip with dd and pipe to od?

cheers,
Pádraig.




This bug report was last modified 6 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.