awk/testdir/t.sep

3 lines
90 B
Plaintext

BEGIN { FS = "1"; print "field separator is", FS }
NF>1 { print $0 " has " NF " fields" }