diff options
| -rwxr-xr-x | open-file | 1 | ||||
| -rwxr-xr-x | sel | 10 |
2 files changed, 1 insertions, 10 deletions
| @@ -94,7 +94,6 @@ while getopts "m:s:t:" opt; do | |||
| 94 | done | 94 | done |
| 95 | 95 | ||
| 96 | shift `expr $OPTIND - 1` | 96 | shift `expr $OPTIND - 1` |
| 97 | toopen=$@ | ||
| 98 | 97 | ||
| 99 | if [ -n "$1" ]; then | 98 | if [ -n "$1" ]; then |
| 100 | while [ -n "$1" ]; do | 99 | while [ -n "$1" ]; do |
| @@ -18,14 +18,6 @@ | |||
| 18 | # TODO: The usage of paste(1) is a bit of a hack, and for example it does | 18 | # TODO: The usage of paste(1) is a bit of a hack, and for example it does |
| 19 | # not work if filenames contain tab characters. Fix this. | 19 | # not work if filenames contain tab characters. Fix this. |
| 20 | 20 | ||
| 21 | # Kinda bug, but it's fine: when using glob expressions, the expression must | ||
| 22 | # be quoted when it matches filenames with spaces. For example | ||
| 23 | # sel add * | ||
| 24 | # works fine only if the are no filenames with spaces in the current folder; | ||
| 25 | # on the other hand | ||
| 26 | # sel add "*" | ||
| 27 | # always works. | ||
| 28 | |||
| 29 | # Bug (probably not fixing this, use virename): moving a file to | 21 | # Bug (probably not fixing this, use virename): moving a file to |
| 30 | # itself gives an error and rm is not run. | 22 | # itself gives an error and rm is not run. |
| 31 | 23 | ||
| @@ -95,7 +87,7 @@ if [ -z "$1" ]; then | |||
| 95 | else | 87 | else |
| 96 | case "$1" in | 88 | case "$1" in |
| 97 | add) | 89 | add) |
| 98 | add $@ | 90 | add "$@" |
| 99 | ;; | 91 | ;; |
| 100 | addall) | 92 | addall) |
| 101 | add * | 93 | add * |
