NetBSD/gnu/dist/gawk/test/nfldstr.awk
wiz 06c09073b3 Initial import of gawk-3.1.3.
Seven releases since the last import, so the ChangeLog is quite big;
please refer to the NEWS file included in the import for details.
Among others, this also addresses PR 23054.
2003-10-06 15:55:26 +00:00

14 lines
151 B
Awk

$1 == 0 {
print "bug"
}
{
$0 = "0"
if (!$0)
print "another bug"
$0 = a = "0"
if (!$0)
print "yet another bug"
if ($1)
print "a buggie"
}