awk/testdir/p.35

5 lines
115 B
Plaintext
Raw Normal View History

2019-06-23 05:13:57 -04:00
BEGIN { FS = OFS = "\t" }
$4 ~ /^North America$/ { $4 = "NA" }
$4 ~ /^South America$/ { $4 = "SA" }
{ print }