Do not strip \0 in filenames

unlikely that strings in bash can hold them in any case
This commit is contained in:
Lorenzo Pistone
2019-02-17 02:02:35 +01:00
committed by GitHub
parent 99f61a7e85
commit 9d76391b17

View File

@@ -2,7 +2,7 @@
set -e
fname=$(echo "${4} - ${2}.ogg" | tr '/' - | tr '\0' ' ')
fname=$(echo "${4} - ${2}.ogg" | tr '/' -)
cat > "$fname"
{
echo "SPOTIFY_ID=${1}"