awk(1): use -version instead of -V
-V is OpenBSD specific, use -version instead. While here, fix issue reported by mandoc lint and drop nonexistent script(7) reference. PR: 247004 Reviewed by: 0mp, markj Differential Revision: https://reviews.freebsd.org/D25164
This commit is contained in:
parent
6419bb529b
commit
7d93dd0f34
@ -23,7 +23,7 @@
|
|||||||
.\" THIS SOFTWARE.
|
.\" THIS SOFTWARE.
|
||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.Dd $Mdocdate: September 14 2015 $
|
.Dd $Mdocdate: June 6 2020 $
|
||||||
.Dt AWK 1
|
.Dt AWK 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -32,7 +32,7 @@
|
|||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm awk
|
.Nm awk
|
||||||
.Op Fl safe
|
.Op Fl safe
|
||||||
.Op Fl V
|
.Op Fl version
|
||||||
.Op Fl d Ns Op Ar n
|
.Op Fl d Ns Op Ar n
|
||||||
.Op Fl F Ar fs
|
.Op Fl F Ar fs
|
||||||
.Op Fl v Ar var Ns = Ns Ar value
|
.Op Fl v Ar var Ns = Ns Ar value
|
||||||
@ -101,7 +101,7 @@ approximation to a
|
|||||||
.Dq safe
|
.Dq safe
|
||||||
version of
|
version of
|
||||||
.Nm .
|
.Nm .
|
||||||
.It Fl V
|
.It Fl version
|
||||||
Print the version number of
|
Print the version number of
|
||||||
.Nm
|
.Nm
|
||||||
to standard output and exit.
|
to standard output and exit.
|
||||||
@ -265,7 +265,7 @@ and concatenation
|
|||||||
.Pq indicated by whitespace .
|
.Pq indicated by whitespace .
|
||||||
The operators
|
The operators
|
||||||
.Ic \&! ++ \-\- += \-= *= /= %= ^=
|
.Ic \&! ++ \-\- += \-= *= /= %= ^=
|
||||||
.Ic > >= < <= == != ?:
|
.Ic > >= < <= == != ?\&:
|
||||||
are also available in expressions.
|
are also available in expressions.
|
||||||
Variables may be scalars, array elements
|
Variables may be scalars, array elements
|
||||||
(denoted
|
(denoted
|
||||||
@ -752,8 +752,7 @@ Print an error message to standard error:
|
|||||||
.Xr lex 1 ,
|
.Xr lex 1 ,
|
||||||
.Xr printf 1 ,
|
.Xr printf 1 ,
|
||||||
.Xr sed 1 ,
|
.Xr sed 1 ,
|
||||||
.Xr re_format 7 ,
|
.Xr re_format 7
|
||||||
.Xr script 7
|
|
||||||
.Rs
|
.Rs
|
||||||
.%A A. V. Aho
|
.%A A. V. Aho
|
||||||
.%A B. W. Kernighan
|
.%A B. W. Kernighan
|
||||||
@ -774,9 +773,10 @@ except
|
|||||||
does not support {n,m} pattern matching.
|
does not support {n,m} pattern matching.
|
||||||
.Pp
|
.Pp
|
||||||
The flags
|
The flags
|
||||||
.Op Fl \&dV
|
.Fl d ,
|
||||||
|
.Fl safe ,
|
||||||
and
|
and
|
||||||
.Op Fl safe ,
|
.Fl version
|
||||||
as well as the commands
|
as well as the commands
|
||||||
.Cm fflush , compl , and , or ,
|
.Cm fflush , compl , and , or ,
|
||||||
.Cm xor , lshift , rshift ,
|
.Cm xor , lshift , rshift ,
|
||||||
|
Loading…
Reference in New Issue
Block a user