From ecfb6f48e8654435cc4949ff9e70a8805b7cd095 Mon Sep 17 00:00:00 2001 From: haasmi Date: Wed, 7 Jun 2023 10:21:54 +0200 Subject: [PATCH] String appending --- pandocPipeline/pandocPipeline.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) mode change 100644 => 100755 pandocPipeline/pandocPipeline.sh diff --git a/pandocPipeline/pandocPipeline.sh b/pandocPipeline/pandocPipeline.sh old mode 100644 new mode 100755 index bcf2415..63a6c27 --- a/pandocPipeline/pandocPipeline.sh +++ b/pandocPipeline/pandocPipeline.sh @@ -15,8 +15,8 @@ echo Usage: pandocPipeline [OPTION] [COMMAND] echo -h, --help show this help screen echo -f, --file specify filename without extension echo -e, --ending spefify target file format -echo -u, --user=$USER enter name of file editor set between "" (only for target format pdf) -echo -t, --title enter title of document set between "" (only for target format pdf) +echo -u, --user=editor enter name of file editor set between "" \(only for target format pdf\) +echo -t, --title enter title of document set between "" \(only for target format pdf\) echo Pipeline is optimized for target format pdf and docx but works with others as well echo Possible fileformats see: https://pandoc.org/diagram.svgz?v=20230203095535 echo Examples: @@ -64,10 +64,13 @@ while true; do esac done +echo $script +scriptpath=$script +echo $scriptpath + +scriptpath+=/header.txt +echo $scriptpath if [[ -z "$file" ]]; then Errorfile exit fi - -if [[ "$ending" == "pdf" ]] - header= \ No newline at end of file