aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/awk
diff options
context:
space:
mode:
authorYuri Pankov <yuripv@FreeBSD.org>2020-06-13 09:16:07 +0000
committerYuri Pankov <yuripv@FreeBSD.org>2020-06-13 09:16:07 +0000
commit7d93dd0f345a1ab4f43a9de1934132194010274f (patch)
treea461890413d5807abb8315eef3122f2af1871eda /usr.bin/awk
parent6419bb529b93814c1078850de9ba6d9c91f2f6b0 (diff)
Notes
Diffstat (limited to 'usr.bin/awk')
-rw-r--r--usr.bin/awk/awk.116
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/awk/awk.1 b/usr.bin/awk/awk.1
index aba0f393dd08..4be4b96cabce 100644
--- a/usr.bin/awk/awk.1
+++ b/usr.bin/awk/awk.1
@@ -23,7 +23,7 @@
.\" THIS SOFTWARE.
.\"
.\" $FreeBSD$
-.Dd $Mdocdate: September 14 2015 $
+.Dd $Mdocdate: June 6 2020 $
.Dt AWK 1
.Os
.Sh NAME
@@ -32,7 +32,7 @@
.Sh SYNOPSIS
.Nm awk
.Op Fl safe
-.Op Fl V
+.Op Fl version
.Op Fl d Ns Op Ar n
.Op Fl F Ar fs
.Op Fl v Ar var Ns = Ns Ar value
@@ -101,7 +101,7 @@ approximation to a
.Dq safe
version of
.Nm .
-.It Fl V
+.It Fl version
Print the version number of
.Nm
to standard output and exit.
@@ -265,7 +265,7 @@ and concatenation
.Pq indicated by whitespace .
The operators
.Ic \&! ++ \-\- += \-= *= /= %= ^=
-.Ic > >= < <= == != ?:
+.Ic > >= < <= == != ?\&:
are also available in expressions.
Variables may be scalars, array elements
(denoted
@@ -752,8 +752,7 @@ Print an error message to standard error:
.Xr lex 1 ,
.Xr printf 1 ,
.Xr sed 1 ,
-.Xr re_format 7 ,
-.Xr script 7
+.Xr re_format 7
.Rs
.%A A. V. Aho
.%A B. W. Kernighan
@@ -774,9 +773,10 @@ except
does not support {n,m} pattern matching.
.Pp
The flags
-.Op Fl \&dV
+.Fl d ,
+.Fl safe ,
and
-.Op Fl safe ,
+.Fl version
as well as the commands
.Cm fflush , compl , and , or ,
.Cm xor , lshift , rshift ,