tRename loop variable to be more descriptive - bitreich-tv - meme tv encoding a… | |
git clone git://src.adamsgaard.dk/bitreich-tv | |
Log | |
Files | |
Refs | |
--- | |
commit ac639f0d7f8feadca0ef246d65bcc039fd73e90a | |
parent 9b28bd7e0cfd72c0febb9087936771825e2b47b2 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
diff --git a/brtv-playlist-to-m3u.sh b/brtv-playlist-to-m3u.sh | |
t@@ -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 |