add \captureshellcmd, which writes its argument to shellcmd.sh
add output redirection to command based on chaptername and line number
update text to represent new way of doing things
add 2 examples in the real document as well
add redirection to filename-number.out
mention that all commands will be present
Merge pull request #65 from hpcugent/automate-commands

Automate commands