aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-12-02 21:57:32 +0000
committerrsc <devnull@localhost>2003-12-02 21:57:32 +0000
commite89321a56e6d3c1559e166898510d6ddab9e6ffe (patch)
tree07a988f0ba62dbb056649edbaccd36d61af2c742 /bin
parent1ccf253eb2479d536f690f1805a7719a7cfe96dc (diff)
downloadplan9port-e89321a56e6d3c1559e166898510d6ddab9e6ffe.tar.gz
plan9port-e89321a56e6d3c1559e166898510d6ddab9e6ffe.tar.bz2
plan9port-e89321a56e6d3c1559e166898510d6ddab9e6ffe.zip
B that knows about address syntax,
change plumber to use it.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/B6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/B b/bin/B
index 74bdb48b..a8351675 100755
--- a/bin/B
+++ b/bin/B
@@ -22,6 +22,12 @@ else
do
pwd=`pwd`
file=`cleanname -d $pwd $i`
+ line=`echo $file | sed 's/.*://'`
+ file=`echo $file | sed 's/:.*//'`
echo "B $file" >>$sam
+ if [ "x$line" != "x" -a "x$line" != "x$file" ]
+ then
+ echo "$line" >> $sam
+ fi
done
fi