commit | dbd7b9a97eede27e707a279114305d7591d371fc | [log] [tgz] |
---|---|---|
author | rsc <devnull@localhost> | Sun Nov 23 18:29:08 2003 +0000 |
committer | rsc <devnull@localhost> | Sun Nov 23 18:29:08 2003 +0000 |
tree | 90e45fcce18ff109010d61f2d4fccb7d840302c4 | |
parent | 97a5e5f2dd40eff09cb650c91c21f680b6d4206a [diff] [blame] |
various shell script fixes. add 9a, 9c, 9l wrapper scripts. label sets label on xterm/9term
diff --git a/bin/B b/bin/B index c1a4b16..74bdb48 100755 --- a/bin/B +++ b/bin/B
@@ -18,16 +18,10 @@ echo could not find sam 2>&1 exit 2 else - pwd=`pwd` for i do - case $i in - /*) - echo "B $i" >>$sam - ;; - *) - echo "B $pwd/$i" >>$sam - ;; - esac + pwd=`pwd` + file=`cleanname -d $pwd $i` + echo "B $file" >>$sam done fi