mkfuncs.awk
wsh/binsrc/less-177/mkfuncs.awk · 158 B
From the archive wsh-147.tar.gz
Download the archive « Back to the archive contents
BEGIN { FS="("; state = 0 }
/^ public/ { ftype = $0; state = 1 }
{ if (state == 1)
state = 2
else if (state == 2)
{ print ftype,$1,"();"; state = 0 }
}