From 01145e8d4e0c0e68f34451343ec388e43b5e618e Mon Sep 17 00:00:00 2001 From: Peter Date: Thu, 28 May 2020 16:01:58 +0100 Subject: [PATCH] Use prompt argument in read --- .local/bin/booksplit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.local/bin/booksplit b/.local/bin/booksplit index 0029d0bc..0a8d736f 100755 --- a/.local/bin/booksplit +++ b/.local/bin/booksplit @@ -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"