wrote:
> Basically all I am doing is pulling all records out of a file that
> start with "F" and creating a new file of just those records.
If this is what you want, just forget about using awk within perl
scripts, the perl onelier is easy as awk:
perl -nle 'print if /^F/' infile > outfile
you dont need to separate line into columns except that you need to
check contents in a specific column, like:
perl -anle 'print if $F[2] =~ /^F/' infile > outfile
this check if column-3 begins with 'F'...
your awk command can be written as:
awk '/^F/' infile > outfile
Xicheng