Previous: BEGINFILE/ENDFILE, Up: Pattern Overview   [Contents][Index]


7.1.6 The Empty Pattern

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.