Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/historical/nawk/bin Change the argument names in th...
details: https://anonhg.NetBSD.org/src/rev/406068eb4371
branches: trunk
changeset: 327998:406068eb4371
user: dholland <dholland%NetBSD.org@localhost>
date: Sun Mar 23 01:29:12 2014 +0000
description:
Change the argument names in the prototypes and discussion for
sub/gsub to match those in gensub. Noted by Kai-Uwe Eckhardt in
PR 48667.
diffstat:
external/historical/nawk/bin/awk.1 | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (38 lines):
diff -r 2d5e2a4132c0 -r 406068eb4371 external/historical/nawk/bin/awk.1
--- a/external/historical/nawk/bin/awk.1 Sun Mar 23 00:50:20 2014 +0000
+++ b/external/historical/nawk/bin/awk.1 Sun Mar 23 01:29:12 2014 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: awk.1,v 1.2 2011/04/20 10:10:32 drochner Exp $
+.\" $NetBSD: awk.1,v 1.3 2014/03/23 01:29:12 dholland Exp $
.\"
.\" Copyright (C) Lucent Technologies 1997
.\" All Rights Reserved
@@ -419,8 +419,8 @@
are
.Em not
supported at this moment.
-.It Fn gsub r t "[s]"
-same as
+.It Fn gsub r s "[t]"
+Same as
.Fn sub
except that all occurrences of the regular expression
are replaced;
@@ -477,13 +477,13 @@
.Xr printf 3
format
.Ar fmt .
-.It Fn sub r t "[s]"
+.It Fn sub r s "[t]"
substitutes
-.Ar t
+.Ar s
for the first occurrence of the regular expression
.Ar r
-in the string
-.Ar s .
+in the target string
+.Ar t .
If
.Ar s
is not given,
Home |
Main Index |
Thread Index |
Old Index