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 awk(1): mark up var=value properly



details:   https://anonhg.NetBSD.org/src/rev/5db66374ab9a
branches:  trunk
changeset: 368312:5db66374ab9a
user:      uwe <uwe%NetBSD.org@localhost>
date:      Tue Jul 05 13:05:20 2022 +0000

description:
awk(1): mark up var=value properly

diffstat:

 external/historical/nawk/bin/awk.1 |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (48 lines):

diff -r 6cf51882a66a -r 5db66374ab9a external/historical/nawk/bin/awk.1
--- a/external/historical/nawk/bin/awk.1        Tue Jul 05 12:59:01 2022 +0000
+++ b/external/historical/nawk/bin/awk.1        Tue Jul 05 13:05:20 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: awk.1,v 1.13 2022/07/05 12:59:01 uwe Exp $
+.\"    $NetBSD: awk.1,v 1.14 2022/07/05 13:05:20 uwe Exp $
 .\"
 .\" Copyright (C) Lucent Technologies 1997
 .\" All Rights Reserved
@@ -31,7 +31,7 @@
 .Sh SYNOPSIS
 .Nm
 .Op Fl F Ar fs
-.Op Fl v Ar var=value
+.Op Fl v Ar var\| Ns Cm \&= Ns Ar value
 .Op Fl safe
 .Op Fl d Ns Op Ar N
 .Op Ar prog | Fl f Ar progfile
@@ -68,13 +68,13 @@
 Any
 .Ar file
 of the form
-.Ar var=value
+.Ar var\| Ns Cm \&= Ns Ar value
 is treated as an assignment, not a filename,
 and is executed at the time it would have been opened if it were a filename.
 The option
 .Fl v
 followed by
-.Ar var=value
+.Ar var\| Ns Cm \&= Ns Ar value
 is an assignment to be done before
 .Ar prog
 is executed; any number of
@@ -111,11 +111,11 @@
 Potentially unsafe functions such as
 .Fn system
 make the program abort (with a warning message).
-.It Fl v Ar var Ns = Ns Ar value
+.It Fl v Ar var\| Ns Cm \&= Ns Ar value
 Assign the value
 .Ar value
 to the variable
-.Va var
+.Ar var
 before
 .Ar prog
 is executed.



Home | Main Index | Thread Index | Old Index