mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
B that knows about address syntax,
change plumber to use it.
This commit is contained in:
parent
1ccf253eb2
commit
e89321a56e
2 changed files with 9 additions and 3 deletions
6
bin/B
6
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue