LivingWithHippos / ckb-next_keyboard_macro_formatter

A script to translate text into a macro compatible with ckb-next

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestions for improvements / enhancements

frickler24 opened this issue · comments

commented

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