aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/B15
1 files changed, 7 insertions, 8 deletions
diff --git a/bin/B b/bin/B
index fb45d3e4..85b08861 100755
--- a/bin/B
+++ b/bin/B
@@ -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