20.1. Using exec

An exec <filename command redirects
stdin to a file. From that point on, all
stdin comes from that file, rather than
its normal source (usually keyboard input). This provides a
method of reading a file line by line and possibly parsing
each line of input using sed
and/or awk.