Shell-scripting NotesNotes on doing shell-scripting: hints, tips & tricks, and peculiarities.
- Doxygen comments
Find here a Doxygen filter for processing Doxygen tags in your shell scripts. Currently it only supports file and function comment blocks; global and local variables are not supported.
The filter is a
lexfile, so you have to compile it first:
Next, move the executable
# lex filter_sh.lex # cc -o filter_sh lex.yy.c -lfl
filter_shin your search path and update your
Doxyfileto process shell scripts with
filter_sh. I use something like this in my
FILE_PATTERNS = *.sh INPUT_FILTER = "~/bin/filter_sh"
DocumentationA reference sheet listing the key bindings for readline commands under Bash.
I've prepared a PostScript version (PS) and a PDF version (PDF).
The markup of the reference sheet is plain TeX (TEX).