diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/B | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -1,17 +1,14 @@ #!/bin/sh +files="" +dest="" + if [ $# -eq 0 ] then echo 'usage: B file...' 2>&1 exit 1 fi -for i -do - plumb $i -done -exit 0 - if [ "x$DISPLAY" = "x" ] then sam="/tmp/.sam.$USER" @@ -25,8 +22,10 @@ fi if [ ! -p $sam ] then - echo could not find sam 2>&1 - exit 2 + for i + do + plumb -s B -d edit $i + done else for i do |