NetBSD-Bugs archive

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

bin/48667: awk: man page for gsub shows wrong order of arguments



>Number:         48667
>Category:       bin
>Synopsis:       awk: man page for gsub shows wrong order of arguments
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 19 17:30:00 +0000 2014
>Originator:     Kai-Uwe Eckhardt
>Release:        6.99.36 amd64
>Organization:
>Environment:
>Description:
man 1 awk  shows gsub(r, t, [s]) instead of gsub(r, s, [t]) as defined
in POSIX and implemented in awk.
>How-To-Repeat:

>Fix:
--- awk.1.orig  2014-03-19 18:06:18.000000000 +0100
+++ awk.1       2014-03-19 18:09:23.000000000 +0100
@@ -419,7 +419,7 @@
 are
 .Em not
 supported at this moment.
-.It Fn gsub r t "[s]"
+.It Fn gsub r s "[t]"
 same as
 .Fn sub
 except that all occurrences of the regular expression



Home | Main Index | Thread Index | Old Index