diff --git a/.local/bin/statusbar/crypto b/.local/bin/statusbar/crypto index 153e2fe..2e37f13 100755 --- a/.local/bin/statusbar/crypto +++ b/.local/bin/statusbar/crypto @@ -29,7 +29,7 @@ printprices() { # Print/format all prices [ -f "$x" ] || break info="$(cut -d';' -f-2 --output-delimiter=' ' "$x")" printf "%s $%0.2f " $info - done | sed 's/ $//' + done | sed "s/ $/\n/" } [ ! -d "$dir" ] && mkdir -p "$dir" && { getprices; exit ;}