38 lines
612 B
Plaintext
38 lines
612 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
START_DIR_DONT_CHANGE=`pwd`
|
||
|
|
||
|
# required config items
|
||
|
# XOR=""
|
||
|
|
||
|
# optional config items
|
||
|
|
||
|
# config file
|
||
|
CONFFILE=$HOME/TODO.conf
|
||
|
CLEAN=0
|
||
|
|
||
|
#####################################################################
|
||
|
print_help() {
|
||
|
cat << HLP
|
||
|
Usage:
|
||
|
$0 -help
|
||
|
# using a config file ${CONFFILE}
|
||
|
$0 -rc [-clean]
|
||
|
# without using a config file
|
||
|
$0
|
||
|
HLP
|
||
|
}
|
||
|
|
||
|
#####################################################################
|
||
|
#if [ ! -x "${XOR}" ]; then
|
||
|
# printf "$0: Not found or not an executable: $XOR\n"
|
||
|
# exit 50
|
||
|
#fi
|
||
|
|
||
|
# xorriso version details, incl. underlying libraries
|
||
|
# "${XOR}" -version
|
||
|
|
||
|
exit 0
|