From 0e40ca3e5cbb6c6b77da27489f318b8d9921b072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Mon, 6 Apr 2020 14:45:13 +0200 Subject: [PATCH] Changed the separator symbol. --- play-lofi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/play-lofi b/play-lofi index 05da14b..0c616e4 100755 --- a/play-lofi +++ b/play-lofi @@ -41,12 +41,12 @@ new_link() { grep "

.*watch" | tr -d "\n" | tr -s " ") results=${results//\\/\" \"} - results=${results//\<\/a\>\<\/p\>/\" æ } + results=${results//\<\/a\>\<\/p\>/\" þ } results=${results::-2} # remove that last separator - # NOTE: I chose æ because never in a million years will that + # NOTE: I chose þ because never in a million years will that # character be in the title of a lofi video stream. - IFS="æ" read -r -a streams <<< $results + IFS="þ" read -r -a streams <<< $results echo "Streams:" local id=1