#!/bin/sh # $NetBSD: Showsyms,v 1.1 2001/05/18 00:16:40 fredette Exp $ # Small helper to print out symbols in a useful order. tf=_tmp$$ nm -n rd_bin.syms | egrep -v ' (gcc2|___gnu)_compiled' > $tf grep -i ' u ' $tf grep -i ' a ' $tf grep -i ' t ' $tf grep -i ' d ' $tf grep -i ' b ' $tf rm -f $tf nm -p rd_bin.syms | grep -i ' c '