1 1.1 gwr #!/bin/sh 2 1.3 jtc # $NetBSD: Showsyms,v 1.3 1996/10/09 00:13:36 jtc Exp $ 3 1.1 gwr # Small helper to print out symbols in a useful order. 4 1.1 gwr 5 1.3 jtc tf=_tmp$$ 6 1.3 jtc 7 1.3 jtc nm -n rd_bin.syms | egrep -v ' (gcc2|___gnu)_compiled' > $tf 8 1.3 jtc 9 1.3 jtc grep -i ' u ' $tf 10 1.3 jtc grep -i ' a ' $tf 11 1.3 jtc grep -i ' t ' $tf 12 1.3 jtc grep -i ' d ' $tf 13 1.3 jtc grep -i ' b ' $tf 14 1.3 jtc rm -f $tf 15 1.3 jtc 16 1.3 jtc nm -p rd_bin.syms | grep -i ' c ' 17