diff options
Diffstat (limited to '')
| -rwxr-xr-x | sel | 10 |
1 files changed, 1 insertions, 9 deletions
| @@ -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 * |
