Previous: The BEGINFILE and ENDFILE Special Patterns, Up: Pattern Elements [Contents][Index]
BEGINFILE
ENDFILE
An empty (i.e., nonexistent) pattern is considered to match every input record. For example, the program:
awk '{ print $1 }' mail-list
prints the first field of every record.