NetBSD Problem Report #11204
Received: (qmail 2054 invoked from network); 12 Oct 2000 21:04:57 -0000
Message-Id: <Pine.SOL.4.21.0010122158050.4316-100000@virgo.cus.cam.ac.uk>
Date: Thu, 12 Oct 2000 22:04:54 +0100 (BST)
From: Ben Harris <bjh21@netbsd.org>
Sender: Ben Harris <bjh21@cus.cam.ac.uk>
To: gnats-bugs@gnats.netbsd.org
Subject: POSIX.2: od(1) doesn't support POSIX syntax
>Number: 11204
>Category: standards
>Synopsis: POSIX.2: od(1) doesn't support POSIX syntax
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: standards-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 12 21:05:00 +0000 2000
>Closed-Date: Sat Feb 20 20:08:55 +0000 2010
>Last-Modified: Sun Feb 21 06:40:02 +0000 2010
>Originator: Ben Harris
>Release: 2000-02-07
>Organization:
>Environment:
NetBSD cromarty 1.4X NetBSD 1.4X (CROMARTY) #9: Wed May 3 23:49:51 BST 2000
bjh21@cromarty:/usr/src/sys/arch/macppc/compile/CROMARTY macppc
>Description:
IEEE 1003.2-1992 gives od(1) the following synopsis:
od [-v] [-A address_base] [-j skip] [-N count] [-t type_string] ... [file ...]
Our od(1) doesn't support this syntax at all.
>How-To-Repeat:
cromarty:~$ od -v -A x -j 0 -N 1024 -t c
od: illegal option -- A
od: od(1) has been deprecated for hexdump(1).
hexdump: [-bcCdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]
>Fix:
--
Ben Harris <bjh21@netbsd.org>
Portmaster, NetBSD/arm26 <URL:http://www.netbsd.org/Ports/arm26/>
>Release-Note:
>Audit-Trail:
From: Christopher Berardi <cberardi@natoufa.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: standards/11204
Date: Sat, 20 Feb 2010 13:27:58 -0500
These switches all seem to be implemented in the current od(1).
--
Christopher Berardi
http://www.natoufa.com/
Be still, and know that I am God (Psalms 46:10)
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: standards/11204
Date: Sat, 20 Feb 2010 19:46:25 +0000
On Sat, Feb 20, 2010 at 06:30:04PM +0000, Christopher Berardi wrote:
> These switches all seem to be implemented in the current od(1).
Eh?
With this morning's sources:
% od -v -A x -j 0 -N 1024 -t /etc/motd
hexdump: [-bcCdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]
Exit 1
%
--
David A. Holland
dholland@netbsd.org
From: Christopher Berardi <cberardi@natoufa.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: standards/11204
Date: Sat, 20 Feb 2010 15:04:24 -0500
On Sat, Feb 20, 2010 at 07:50:04PM +0000, David Holland wrote:
>
> Eh?
>
> With this morning's sources:
>
> % od -v -A x -j 0 -N 1024 -t /etc/motd
> hexdump: [-bcCdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]
> Exit 1
> %
>
> --
> David A. Holland
> dholland@netbsd.org
>
The -t switch requires an argument 'type_string', such as 'a' for ASCII.
$ od -v -A x -j 0 -N 1024 -t a /etc/motd
0000000 N e t B S D sp 5 . 0 . 2 sp ( G E
0000010 N E R I C ) sp # 0 : sp S a t sp F
0000020 e b sp 6 sp 1 7 : 5 3 : 2 7 sp U T
0000030 C sp 2 0 1 0 nl nl W e l c o m e sp
0000040 t o sp N e t B S D ! nl nl
000004c
--
Christopher Berardi
http://www.natoufa.com/
Be still, and know that I am God (Psalms 46:10)
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 20 Feb 2010 20:08:55 +0000
State-Changed-Why:
Oops, must read docs more carefully. It does in fact work, so this can
be closed.
From: "Martin S. Weber" <Ephaeton@gmx.net>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: standards/11204
Date: Sun, 21 Feb 2010 01:35:51 -0500
On Sat, Feb 20, 2010 at 08:05:03PM +0000, Christopher Berardi wrote:
> On Sat, Feb 20, 2010 at 07:50:04PM +0000, David Holland wrote:
> > With this morning's sources:
> >
> > % od -v -A x -j 0 -N 1024 -t /etc/motd
> > hexdump: [-bcCdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]
> > Exit 1
> > %
> (...)
> The -t switch requires an argument 'type_string', such as 'a' for ASCII.
> (...)
> $ od -v -A x -j 0 -N 1024 -t a /etc/motd
Uh, am I the only one disturbed by the synopsis output in david's quoted
example? It is not helpful at all.
-Martin
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.