repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git]
/
distrib
/
sun3
/
ramdisk
/
Showsyms
blob
9516203c884d67b49f57c9e10f0bd58bd3d533d2
1
#!/bin/sh
2
# $NetBSD: Showsyms,v 1.2.6.1 1996/09/13 20:22:49 gwr Exp $
3
# Small helper to print out symbols in a useful order.
4
5
tf
=
_tmp$$
6
7
nm
-n
rd_bin.syms |
egrep
-v
' (gcc2|___gnu)_compiled'
>
$tf
8
9
grep
-i
' u '
$tf
10
grep
-i
' a '
$tf
11
grep
-i
' t '
$tf
12
grep
-i
' d '
$tf
13
grep
-i
' b '
$tf
14
rm
-f
$tf
15
16
nm
-p
rd_bin.syms |
grep
-i
' c '