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 --- open-file | 1 - sel | 10 +--------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/open-file b/open-file index 322ffd9..2a5f55e 100755 --- a/open-file +++ b/open-file @@ -94,7 +94,6 @@ while getopts "m:s:t:" opt; do done shift `expr $OPTIND - 1` -toopen=$@ if [ -n "$1" ]; then while [ -n "$1" ]; do 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