Merge branch 'LukeSmithxyz:master' into master

This commit is contained in:
M.Zeinali 2022-07-29 10:48:21 +04:30 committed by GitHub
commit 0b503734e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ echo "Enter the artist/author:"; read -r author
echo "Enter the publication year:"; read -r year echo "Enter the publication year:"; read -r year
inputaudio="$1" inputaudio="$1"
ext="${1#*.}" ext="${1##*.}"
# Get a safe file name from the book. # Get a safe file name from the book.
escbook="$(echo "$booktitle" | iconv -cf UTF-8 -t ASCII//TRANSLIT | tr -d '[:punct:]' | tr '[:upper:]' '[:lower:]' | tr ' ' '-' | sed "s/-\+/-/g;s/\(^-\|-\$\)//g")" escbook="$(echo "$booktitle" | iconv -cf UTF-8 -t ASCII//TRANSLIT | tr -d '[:punct:]' | tr '[:upper:]' '[:lower:]' | tr ' ' '-' | sed "s/-\+/-/g;s/\(^-\|-\$\)//g")"