Rename loop variable to be more descriptive - bitreich-tv - Meme TV encoding and streaming HTML git clone git://bitreich.org/bitreich-tv git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/bitreich-tv DIR Log DIR Files DIR Refs DIR Tags DIR LICENSE --- DIR commit ac639f0d7f8feadca0ef246d65bcc039fd73e90a DIR parent 9b28bd7e0cfd72c0febb9087936771825e2b47b2 HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 16 Aug 2020 22:20:14 +0200 Rename loop variable to be more descriptive Diffstat: M brtv-playlist-to-m3u.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/brtv-playlist-to-m3u.sh b/brtv-playlist-to-m3u.sh @@ -4,8 +4,8 @@ printf '#EXTM3U\n' while IFS=' -' read -r line; do - f="${line##*/}" +' read -r url; do + f="${url##*/}" printf '#EXTINF:%s, bitreich-tv - #%s\n' "" "${f%.*}" - printf '%s\n' "$line" + printf '%s\n' "$url" done