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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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}"