aboutsummaryrefslogtreecommitdiffstats
path: root/bin/fl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fl')
-rwxr-xr-xbin/fl12
1 files changed, 1 insertions, 11 deletions
diff --git a/bin/fl b/bin/fl
index cc8924a..1a2d0f7 100755
--- a/bin/fl
+++ b/bin/fl
@@ -5,7 +5,7 @@
# from pure-sh-bible, strips from the start of a string
lstrip() {
- printf '%s\n' "${1##"$2"}"
+ printf '%s\n' "${1##$2}"
}
# url-finding regex
@@ -22,17 +22,7 @@ urlparse() {
set -- $(urlparse "$@")
-# wipe IFS so dmenu handles being sent the links properly
-IFS=
-
# send any found links to select so one can be chosen to be sent to the clipboard
-#select url;
-#do
-# printf '%s' "$url"
-#done
for url; do
printf '%s\n' "$url"
done
-
-#[ -n "$urls" ] &&
-# echo $urls | dmenu -i -p 'copy which url?' -l 10 | xclip -r -sel c