From 54f47ab89bb4c7ef8117e6d667c227191c2106e6 Mon Sep 17 00:00:00 2001 From: fritz-hh Date: Mon, 6 Jan 2014 22:41:43 +0100 Subject: [PATCH] Minor change --- OCRmyPDF.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OCRmyPDF.sh b/OCRmyPDF.sh index 31fc51bd..0fd54409 100644 --- a/OCRmyPDF.sh +++ b/OCRmyPDF.sh @@ -208,7 +208,7 @@ mkdir -p "${TMP_FLD}" [ $VERBOSITY -ge $LOG_DEBUG ] && echo "Input file: Extracting size of each page (in pt)" ! identify -format "%w %h\n" "$FILE_INPUT_PDF" > "$FILE_TMP" \ && echo "Could not get size of PDF pages. Exiting..." && exit $EXIT_BAD_INPUT_FILE -# removing empty lines (last one should be) and prepend page # before each line +# removing empty lines (last one should be) and add page # before each line sed '/^$/d' "$FILE_TMP" | awk '{printf "%04d %s\n", NR, $0}' > "$FILE_PAGES_INFO" numpages=`tail -n 1 "$FILE_PAGES_INFO" | cut -f1 -d" "`