Previous: BEGINFILE/ENDFILE, Up: Pattern Overview


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 }' BBS-list

prints the first field of every record.