Erik Curiel <[EMAIL PROTECTED]>:
:
:Why not just do the whole thing in awk?  When I have more time, maybe
:later tonight, I can write up an example script.

Something along the lines of:

awk '{if ($1!~"^#" && $1!="") print "column 1 is",$1,"and column 2 is",$2}' $INFILE

will catch the majority of cases.  You'll probably want to have it
catch comments in $2 as well, and behave differently if $2 is empty,
but I leave that as an exercise for the reader.


DVS

Reply via email to