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