ack/util/ego/share/pop_push.awk

16 lines
143 B
Awk
Raw Permalink Normal View History

1984-11-26 15:15:07 +00:00
BEGIN {
print "char *pop_push[]="
print "{"
print "\"\","
s = 0
1984-11-26 15:15:07 +00:00
}
/aar/ {
s = 1
1984-11-26 15:15:07 +00:00
}
{
if (s) printf("\"%s\",\n",$3)
1984-11-26 15:15:07 +00:00
}
END {
print "};"
}