summaryrefslogtreecommitdiff
path: root/test/compare.awk
blob: 39a88f317adc38d0eb0dd2bf9d448fe2f0a23075 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
BEGIN {
	if (ARGV[1]) print 1
	ARGV[1] = ""
	if (ARGV[2]) print 2
	ARGV[2] = ""
	if ("0") print "zero"
	if ("") print "null"
	if (0) print 0
}
{
	if ($0) print $0
	if ($1) print $1
}