From d6474afa0f6bbbd9b6393259e853005d0087d8dd Mon Sep 17 00:00:00 2001 From: dodeeric Date: Wed, 29 Jul 2020 17:52:45 +0200 Subject: [PATCH] script file updated: default value available for all inputs --- pdf2epubEX.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pdf2epubEX.sh b/pdf2epubEX.sh index 166df8d..b491a0f 100755 --- a/pdf2epubEX.sh +++ b/pdf2epubEX.sh @@ -116,11 +116,11 @@ else read -p "Author [Default: $pdfauthor]: " author fi -read -p "Publisher: " publisher -read -p "Year: " year -read -p "Language: (e.g.: fr): " language -read -p "ISBN number: " isbn -read -p "Subject (e.g.: history): " tags +read -p "Publisher [Default: None]: " publisher +read -p "Year: [Default: 1900]" year +read -p "Language: (e.g.: fr) [Default: en]: " language +read -p "ISBN number [Default: None]: " isbn +read -p "Subject (e.g.: history) [Default: None]: " tags if [ -z "$title" ] && [ -z "$pdftitle" ] ; then title="None" @@ -147,7 +147,7 @@ if [ -z "$year" ] ; then fi if [ -z "$language" ] ; then - language="None" + language="en" fi if [ -z "$isbn" ] ; then