tUse printf instead of echo in rpurldl. - rohrpost - A commandline mail client to change the world as we see it.
(HTM) git clone git://r-36.net/rohrpost
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 4562104e306188848f94dc21175be771e3dcd844
(DIR) parent 00a15e9d5939d24e627b25de50450c5a91047ed9
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 15 Dec 2019 18:34:35 +0100
Use printf instead of echo in rpurldl.
Diffstat:
bin/rpurldl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/bin/rpurldl b/bin/rpurldl
t@@ -10,7 +10,7 @@ fi
url=$(rpview "$@" | awk '/URL:/ {print $2}' | tr -d '\r')
for i in $url
do
- echo $i
+ printf "%s\n" "${i}"
$DOWNLOADER "$i"
done