gnu/86627: src/contrib/bc / option -h / contains typo?

Arne Woerner arne_woerner at yahoo.com
Tue Sep 27 05:50:15 PDT 2005


>Number:         86627
>Category:       gnu
>Synopsis:       src/contrib/bc / option -h / contains typo?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 27 12:50:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Arne Woerner
>Release:        R5.3
>Organization:
>Environment:
FreeBSD neo.riddick.homeunix.org 5.4-RELEASE FreeBSD 5.4-RELEASE #3: Tue Jul 12 19:18:33 UTC 2005     aw at neo.riddick.homeunix.org.:/usr/src/sys/i386/compile/RIDDICK  i386

>Description:
I just saw a little bug in the bc tool: The usage output (-h) says something about "routnes" and I think it should be "routines"... :-))

But I am not a native speaker... www.m-w.com does not know "routnes", too, and offers as first guess "routines", which would fit in the context semantically...


>How-To-Repeat:
type:
bc -h
>Fix:
> diff -u main.c main.c.new 
--- main.c      Tue Feb 17 00:53:50 2004
+++ main.c.new  Tue Sep 27 12:34:59 2005
@@ -65,7 +65,7 @@
   printf ("usage: %s [options] [file ...]\n%s%s%s%s%s%s%s", progname,
           "  -h  --help         print this usage and exit\n",
          "  -i  --interactive  force interactive mode\n",
-         "  -l  --mathlib      use the predefine math routnes\n",
+         "  -l  --mathlib      use the predefine math routines\n",
          "  -q  --quiet        don't print initial banner\n",
          "  -s  --standard     non-standard bc constructs are errors\n",
          "  -w  --warn         warn about non-standard bc constructs\n",

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list