GNU bug report logs - #45648
`dd` seek/skip which way is up?

Previous Next

Package: coreutils;

Reported by: Bela Lubkin <bela.lubkin <at> gmail.com>

Date: Mon, 4 Jan 2021 06:32:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #28 received at 45648-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bela Lubkin <bela.lubkin <at> gmail.com>
Cc: 45648-done <at> debbugs.gnu.org
Subject: Re: bug#45648: `dd` seek/skip which way is up?
Date: Tue, 22 Feb 2022 09:12:42 -0800
[Message part 1 (text/plain, inline)]
On 1/4/21 20:08, Paul Eggert wrote:
> On 1/4/21 7:44 PM, Bela Lubkin wrote:
>> TLDR: *huge* existing presence of 'iseek' and 'oseek'; most OSes document
>> them as pure synonyms for 'skip' and 'seek'.
> 
> Thanks for doing all that research. It's compelling, and I think your 
> patch (or something like it) should go in. I'll wait for a bit to hear 
> other opinions.

After thinking about the patch a bit more, let's omit the part about 
adding new conversions iseek_bytes etc., as I think there's a better way 
to address that issue. I proposed something in <https://bugs.gnu.org/54112>.

So instead of your patch, I installed the attached patches. The first 
one adds the iseek and oseek operands that you suggested; the second one 
clarifies dd documentation, as I found several things were confusing 
when rereading it carefully. Something like these patches should appear 
in the next coreutils release.
[0001-dd-support-iseek-and-oseek.patch (text/x-patch, attachment)]
[0002-dd-improve-doc-relative-to-POSIX.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 85 days ago.

Previous Next


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