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