Suggestions for improvements / enhancements
frickler24 opened this issue · comments
Here some additional ideas for macro_start.sh:
- add interpretation of parameters (--version, --help, --verbose, - (read stdin as sourcefile), -o outputfile and so on. You may find some good examples for analyzing paramterlists in the web
- Do some error handling in combination with this, e.g. if you do not give an input file
- Why do you have the evaluation of $macros? You may shorten it:
macros=$(awk -f $AWK $MACROFILE > $OUT)
echo $macros
is the same as awk -f $AWK $MACROFILE > $OUT