String appending
This commit is contained in:
parent
17dd1f1c85
commit
ecfb6f48e8
1 changed files with 8 additions and 5 deletions
13
pandocPipeline/pandocPipeline.sh
Normal file → Executable file
13
pandocPipeline/pandocPipeline.sh
Normal file → Executable file
|
|
@ -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=
|
||||
Loading…
Add table
Add a link
Reference in a new issue