Hot answers tagged sh
I wrote this Perl program a long time ago that could get you started if you understand it. It uses uses the inotify feature in the kernel. http://www.win2ix.ca/2013/05/31/606/ You'll have to change the code from synchronization to doing whatever you need, but it's mostly all there. I know you have a problem with Perl, but I wanted to give this to you just ...
Your guess is right. exec >filename command redirects stdout to the designated file. This sends all command output that would normally go to stdout to that file. command &> filename redirects both the stdout and the stderr of command to filename. Actually, command &>file is another form of command > file 2>&1 (not available in ...
Either clone the git repo as @alexises suggests which is the most general solution or if you're actually using github.com you can get to the files directly on https://raw.github.com which is explained more fully here.
You must clone the repo to get the file, it's a common case in a packaging environement. If you have a security issue you can fork, remove your capability and dowload the file under a non privilaged user.
Only top voted, non community-wiki answers of a minimum length are eligible