ack/util/ego/share/pop_push.awk

16 lines
158 B
Awk
Raw Normal View History

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