xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/nfldstr.awk (revision e6d6c189fa3a95d7aa27bbe0aeacf7c1a6b57c8c)
1*e6d6c189SCody Peter Mello$1 == 0 {
2*e6d6c189SCody Peter Mello	print "bug"
3*e6d6c189SCody Peter Mello}
4*e6d6c189SCody Peter Mello{
5*e6d6c189SCody Peter Mello	$0 = "0"
6*e6d6c189SCody Peter Mello	if (!$0)
7*e6d6c189SCody Peter Mello		print "another bug"
8*e6d6c189SCody Peter Mello	$0 = a = "0"
9*e6d6c189SCody Peter Mello	if (!$0)
10*e6d6c189SCody Peter Mello		print "yet another bug"
11*e6d6c189SCody Peter Mello	if ($1)
12*e6d6c189SCody Peter Mello		print "a buggie"
13*e6d6c189SCody Peter Mello}
14