diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-12-19 12:48:03 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-12-19 12:48:03 +0000 |
commit | a83fe170f560b71aeef197ba5c229e27020dbcdb (patch) | |
tree | 7a94c3456fa02c9d24631fee598c4dd92573901a /usr.bin | |
parent | 36e46b89b673f16f641c6ccb6afd2eb2913d8fbc (diff) |
- adjust some list widths for better postscript output
- reference printf(1) for a list of C escapes
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/awk/awk.1 | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/usr.bin/awk/awk.1 b/usr.bin/awk/awk.1 index 1ed637eab7c..ee4d8c176b5 100644 --- a/usr.bin/awk/awk.1 +++ b/usr.bin/awk/awk.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: awk.1,v 1.19 2003/12/19 09:27:36 jmc Exp $ +.\" $OpenBSD: awk.1,v 1.20 2003/12/19 12:48:02 jmc Exp $ .\" EX/EE is a Bd .\" .\" Copyright (C) Lucent Technologies 1997 @@ -67,7 +67,7 @@ is treated as an assignment, not a filename, and is executed at the time it would have been opened if it were a filename. .Pp The options are as follows: -.Bl -tag -width Ds +.Bl -tag -width "-safe " .It Fl d Ns Op Ar n Debug mode. Set debug level to @@ -257,11 +257,16 @@ stands for .Ar $0 . String constants are quoted .Li \&"" , -with the usual C escapes recognized within. +with the usual C escapes recognized within +(see +.Xr printf 1 +for a complete list of these). Expressions take on string or numeric values as appropriate, and are built using the operators .Ic + \- * / % ^ -(exponentiation), and concatenation (indicated by whitespace). +.Pq exponentiation , +and concatenation +.Pq indicated by whitespace . The operators .Ic \&! ++ \-\- += \-= *= /= %= ^= .Ic > >= < <= == != ?: @@ -368,7 +373,7 @@ do not combine with other patterns. .Pp Variable names with special meanings: .Pp -.Bl -tag -width "FILENAME" -compact +.Bl -tag -width "FILENAME " -compact .It Va ARGC Argument count, assignable. .It Va ARGV @@ -715,6 +720,7 @@ Print an error message to standard error: .Sh SEE ALSO .Xr egrep 1 , .Xr lex 1 , +.Xr printf 1 , .Xr sed 1 , .Xr printf 3 .Rs |