NetBSD Problem Report #819

From gnats  Thu Feb 23 01:58:22 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id BAA00580 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Thu, 23 Feb 1995 01:58:20 -0800
Message-Id: <199502230944.EAA12896@lola-granola.MIT.EDU>
Date: Thu, 23 Feb 1995 04:44:38 -0500
From: jhawk@MIT.EDU
Reply-To: jhawk@MIT.EDU
To: gnats-bugs@NetBSD.ORG
Subject: sed usage has typo
X-Send-Pr-Version: 3.2

>Number:         819
>Category:       bin
>Synopsis:       sed usage has typo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 23 02:05:08 +0000 1995
>Closed-Date:    Thu Feb 23 09:26:12 +0000 1995
>Last-Modified:  
>Originator:     John Hawkinson
>Release:        1.0
>Organization:
MIT
>Environment:

System: NetBSD lola-granola 1.0 NetBSD 1.0 (LOLA-DDB) #69: Tue Feb 14 19:56:56 EST 1995 jhawk@lola-granola:/u1/usr/src/sys/arch/i386/compile/LOLA-DDB i386

Also ocurrs in -current.

>Description:

``/usr/bin/sed -help'' produces:

sed: illegal option -- h
usage:  sed script [-an] [file ...]
        sed [-an] [-e script] ... [-f scipt_file] ... [file ...]
                                      ^^^^^^^^^^
>How-To-Repeat:
>Fix:

*** 1.1	1995/02/23 09:40:47
--- main.c	1995/02/23 09:41:01
***************
*** 130,136 ****
  		default:
  		case '?':
  			(void)fprintf(stderr,
! "usage:\tsed script [-an] [file ...]\n\tsed [-an] [-e script] ... [-f scipt_file] ... [file ...]\n");
  			exit(1);
  		}
  	argc -= optind;
--- 130,136 ----
  		default:
  		case '?':
  			(void)fprintf(stderr,
! "usage:\tsed script [-an] [file ...]\n\tsed [-an] [-e script] ... [-f script_file] ... [file ...]\n");
  			exit(1);
  		}
  	argc -= optind;
>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Thu Feb 23 09:26:12 1995
State-Changed-Why:
Fixed.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.