Lines Matching refs:progname
2 progname="${0##*/}"
3 progname="${progname%.sh}"
10 echo "Usage: ${progname} [flags...] [regex...] < input-file > output-file"
16 echo " Leave intermediate files /tmp/${progname}.*"
40 rm -f /tmp/${progname}.*
202 b loop' > /tmp/${progname}.formed
204 if [ ! -s /tmp/${progname}.formed ]; then
207 rm -f /tmp/${progname}.*
213 grep "${filter}" /tmp/${progname}.formed |
217 sort -u > /tmp/${progname}.symbols
227 if [ -s /tmp/${progname}.symbols ]; then
231 grep "${filter}" /tmp/${progname}.symbols |
233 grep -v "${filter}" /tmp/${progname}.symbols |
238 grep "${filter}" /tmp/${progname}.symbols |
240 grep -v "${filter}" /tmp/${progname}.symbols |
248 if [ -s /tmp/${progname}.symbols ]; then
251 fgrep -f /tmp/${progname}.symbols /tmp/${progname}.formed
254 grep "${filter}" /tmp/${progname}.formed
257 cat /tmp/${progname}.formed
266 if [ -s /tmp/${progname}.symbols ]; then
267 beautify < /tmp/${progname}.symbols |
268 sed 's/^ */ /' > /tmp/${progname}.short
269 tee /tmp/${progname}.split |
270 fgrep -f /tmp/${progname}.short |
272 fgrep -v -f /tmp/${progname}.short /tmp/${progname}.split
273 rm -f /tmp/${progname}.short /tmp/${progname}.split
280 tee /tmp/${progname}.input |
282 rm -f /tmp/${progname}.*