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