Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/one-true-awk/awk.1
Show First 20 Lines • Show All 346 Lines • ▼ Show 20 Lines | |||||
0 for end of file, and \-1 for an error. | 0 for end of file, and \-1 for an error. | ||||
.PP | .PP | ||||
Patterns are arbitrary Boolean combinations | Patterns are arbitrary Boolean combinations | ||||
(with | (with | ||||
.BR "! || &&" ) | .BR "! || &&" ) | ||||
of regular expressions and | of regular expressions and | ||||
relational expressions. | relational expressions. | ||||
Regular expressions are as in | Regular expressions are as in | ||||
.IR egrep ; | .IR egrep (1) | ||||
see | except numeric quantifiers are not supported beyond the basic | ||||
.IR grep (1). | .B + | ||||
and | |||||
.B ? | |||||
for quantities \&\f(CW"0 or 1"\fP and \&\f(CW"1 or more"\fP | |||||
respectively. | |||||
Isolated regular expressions | Isolated regular expressions | ||||
in a pattern apply to the entire line. | in a pattern apply to the entire line. | ||||
Regular expressions may also occur in | Regular expressions may also occur in | ||||
relational expressions, using the operators | relational expressions, using the operators | ||||
.BR ~ | .BR ~ | ||||
and | and | ||||
.BR !~ . | .BR !~ . | ||||
.BI / re / | .BI / re / | ||||
▲ Show 20 Lines • Show All 164 Lines • Show Last 20 Lines |