Subject: bin/819: sed usage has typo
To: None <gnats-admin@NetBSD.ORG>
From: None <jhawk@MIT.EDU>
List: netbsd-bugs
Date: 02/23/1995 02:05:14
>Number:         819
>Category:       bin
>Synopsis:       sed usage has typo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 23 02:05:08 1995
>Originator:     John Hawkinson
>Organization:
MIT
>Release:        1.0
>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;
>Audit-Trail:
>Unformatted: