commit e89321a56e6d3c1559e166898510d6ddab9e6ffe from: rsc date: Tue Dec 02 21:57:32 2003 UTC B that knows about address syntax, change plumber to use it. commit - 1ccf253eb2479d536f690f1805a7719a7cfe96dc commit + e89321a56e6d3c1559e166898510d6ddab9e6ffe blob - 74bdb48ba55e4dc2e8ee04236dec2aa9157b0dc1 blob + a8351675f4133ce116603c7b1b855a0aceac3eca --- bin/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 blob - 514deb30578d644b49a63bbceef66e6bfbf62204 blob + dd3916987422a3a7d61be4c87654109da371796b --- plumb/basic +++ plumb/basic @@ -56,7 +56,7 @@ arg isfile $1 data set $file attr add addr=$3 plumb to edit -plumb start /usr/local/plan9/bin/B $file +plumb start /usr/local/plan9/bin/B $file:$3 # plumb client window $editor # .h files are looked up in /sys/include and passed to edit @@ -66,7 +66,7 @@ arg isfile /sys/include/$1 data set $file attr add addr=$3 plumb to edit -plumb start /usr/local/plan9/bin/B $file +plumb start /usr/local/plan9/bin/B $file:$3 # plumb client window $editor # .m files are looked up in /sys/module and passed to edit @@ -76,7 +76,7 @@ arg isfile /sys/module/$1 data set $file attr add addr=$3 plumb to edit -plumb start /usr/local/plan9/bin/B $file +plumb start /usr/local/plan9/bin/B $file:$3 # plumb client window $editor # faces -> new mail window for message