Use prompt argument in read

This commit is contained in:
Peter 2020-05-28 16:01:58 +01:00
parent ce94f3ee8e
commit 01145e8d4e

View File

@ -4,11 +4,11 @@
[ ! -f "$2" ] && printf "The first file should be the audio, the second should be the timecodes.\\n" && exit
echo "Enter the album/book title:"; read -r booktitle
read -rp "Enter the album/book title: " booktitle
echo "Enter the artist/author:"; read -r author
read -rp "Enter the artist/author: " author
echo "Enter the publication year:"; read -r year
read -rp "Enter the publication year: " year
inputaudio="$1"