Do not strip \0 in filenames

unlikely that strings in bash can hold them in any case
pull/3/head
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 set -e
fname=$(echo "${4} - ${2}.ogg" | tr '/' - | tr '\0' ' ') fname=$(echo "${4} - ${2}.ogg" | tr '/' -)
cat > "$fname" cat > "$fname"
{ {
echo "SPOTIFY_ID=${1}" echo "SPOTIFY_ID=${1}"