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