AWK: skip lines whose 2nd column that has a string
my CVS file has 10 columns and I want to get rid of lines whose 2nd field
($2) has string beginning with "synonymous". I tried this:
awk '$2 ~ /^synonymous/ {next}'
but it does not print out anything.
No comments:
Post a Comment