19 lines
228 B
Bash
Executable file
19 lines
228 B
Bash
Executable file
#!/bin/rc
|
|
|
|
rfork e
|
|
|
|
files=()
|
|
dest=()
|
|
|
|
if(~ $#* 0){
|
|
echo usage: B file ... >[1=2]
|
|
exit usage
|
|
}
|
|
|
|
if(test -f /mnt/plumb/edit || test -f /mnt/term/mnt/plumb/edit){
|
|
for(i)
|
|
plumb -s B -d edit $i
|
|
exit
|
|
}
|
|
|
|
echo 'no plumber' >[1=2]
|