awk/bugs-fixed/decr-NF.awk

12 lines
103 B
Awk
Raw Normal View History

BEGIN {
$0 = "a b c d e f"
print NF
OFS = ":"
NF--
print $0
print NF
NF++
print $0
print NF
}