commit 232c8225c65492d3cea0ae4fa61e799608ce2c87
parent 5bc99d1816ac392daeefe752766fb0e4db3af95b
Author: René Wagner <rwa@clttr.info>
Date: Tue, 15 Aug 2023 19:14:24 +0200
fix link interpreting when links contain a tab instead a space
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/astro b/astro
@@ -425,7 +425,7 @@ EOF
printf "Enter link number: "
read -r i <&1
debug "selected $i"
- url="$(sed "${i}q;d" "$linksfile" | cut -d' ' -f1)"
+ url="$(sed "${i}q;d" "$linksfile" | cut -f1 | cut -d' ' -f1)"
oldhost="$2"; oldpath="$4"
;;
52)