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