xref: /freebsd/contrib/netbsd-tests/usr.bin/awk/d_assign_NF.awk (revision d8a0fe102c0cfdfcd5b818f850eff09d8536c9bc)
1# $NetBSD: d_assign_NF.awk,v 1.1 2012/03/11 18:35:59 jruoho Exp $
2
3{
4	NF = 2
5	print "$0=`" $0 "`"
6	print "$3=`" $3 "`"
7	print "$4=`" $4 "`"
8	NF = 3
9	print "$0=`" $0 "`"
10	print "$3=`" $3 "`"
11	print "$4=`" $4 "`"
12	NF = 4
13	print "$0=`" $0 "`"
14	print "$3=`" $3 "`"
15	print "$4=`" $4 "`"
16}
17