awk/testdir/t.sep

3 lines
90 B
Plaintext
Raw Normal View History

2019-06-23 05:13:57 -04:00
BEGIN { FS = "1"; print "field separator is", FS }
NF>1 { print $0 " has " NF " fields" }