taccomodate sun nm format - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit 190857f93ec5743f7c3209ac8544440b3cedfcee
parent c71af67adc9946fe2a560259f5e79174dfa07e8d
Author: rsc 
Date:   Fri,  7 Jan 2005 07:28:36 +0000

accomodate sun nm format

Diffstat:
  M bin/9l                              |       4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/bin/9l b/bin/9l
t@@ -21,7 +21,7 @@ then
         for i
         do
                 case "$i" in
-                [^-]*.o)
+                *.o)
                         ofiles="$ofiles $i"
                         ;;
                 esac
t@@ -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