bug-coreutils
[Top][All Lists]
Advanced

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

Re: Bug#394257: od -w parsing broken


From: Jim Meyering
Subject: Re: Bug#394257: od -w parsing broken
Date: Fri, 20 Oct 2006 17:32:28 +0200

Dan Jacobson <address@hidden> wrote:
> Severity: normal
> File: /usr/bin/od
>
> $ od --help|grep -- -w|tail
> By default, od uses -A o -t d2 -w 16.
> $ date|od -A o -t d2 -w 16
> od: 16: No such file or directory
> #must use
> $ date|od -A o -t d2 -w16

Thanks.
Here's what I've done to fix that upstream:

2006-10-20  Jim Meyering  <address@hidden>

        * src/od.c (usage): Change description of default to use "-w16",
        not the now-invalid "-w 16" syntax.  From Dan Jacobson.

Index: src/od.c
===================================================================
RCS file: /fetish/cu/src/od.c,v
retrieving revision 1.171
diff -u -r1.171 od.c
--- src/od.c    21 Aug 2006 13:54:04 -0000      1.171
+++ src/od.c    20 Oct 2006 15:29:55 -0000
@@ -388,7 +388,7 @@
 "), stdout);
       fputs (_("\
 --string without a number implies 3.  --width without a number\n\
-implies 32.  By default, od uses -A o -t d2 -w 16.\n\
+implies 32.  By default, od uses -A o -t d2 -w16.\n\
 "), stdout);
       printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
     }




reply via email to

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