xref: /freebsd/contrib/netbsd-tests/usr.bin/awk/d_assign_NF.awk (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
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