From 5f277892cc3bdb617dbbff0d3ab31cee0e921471 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 15 May 2022 15:29:47 +0200 Subject: I am dumb --- sel | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'sel') diff --git a/sel b/sel index 518e697..5865b24 100755 --- a/sel +++ b/sel @@ -18,14 +18,6 @@ # TODO: The usage of paste(1) is a bit of a hack, and for example it does # not work if filenames contain tab characters. Fix this. -# Kinda bug, but it's fine: when using glob expressions, the expression must -# be quoted when it matches filenames with spaces. For example -# sel add * -# works fine only if the are no filenames with spaces in the current folder; -# on the other hand -# sel add "*" -# always works. - # Bug (probably not fixing this, use virename): moving a file to # itself gives an error and rm is not run. @@ -95,7 +87,7 @@ if [ -z "$1" ]; then else case "$1" in add) - add $@ + add "$@" ;; addall) add * -- cgit v1.3