accomodate sun nm format

This commit is contained in:
rsc 2005-01-07 07:28:36 +00:00
parent c71af67adc
commit 190857f93e

4
bin/9l
View file

@ -21,7 +21,7 @@ then
for i
do
case "$i" in
[^-]*.o)
*.o)
ofiles="$ofiles $i"
;;
esac
@ -34,7 +34,7 @@ then
a=`
nm $ofiles |
grep '__p9l_autolib_[a-zA-Z0-9+-]*$' |
sed 's/.* __p9l_autolib_//' |
sed 's/.*__p9l_autolib_//' |
sort -u
`
for i in $a