specify tab-delimited columns
awk -F'\t' '{ print $1}' file
print column $13 and column $10 where $13 matches "MY"
awk -F"\t" '$13 ~ /MY/ {print $13"\t"$10}' | less
awk -F"\t" '$7 == "restaurant" ' japan.osm.poi > restaurants
awk '{ print \$1} ' file, print 1st column, escape $ when in perl system command
not really sure what this does.....
awk -F "\"*,\"*" '{print $3"\t"$5}' jigyosyo.csv
awk -F'\t' '{ print $1}' file
print column $13 and column $10 where $13 matches "MY"
awk -F"\t" '$13 ~ /MY/ {print $13"\t"$10}' | less
awk -F"\t" '$7 == "restaurant" ' japan.osm.poi > restaurants
awk '{ print \$1} ' file, print 1st column, escape $ when in perl system command
not really sure what this does.....
awk -F "\"*,\"*" '{print $3"\t"$5}' jigyosyo.csv