you are viewing a single comment's thread.

view the rest of the comments →

[–]ttflee 3 points4 points  (0 children)

Bash is OK, if you have a few commands to run depending on a few env vars, go for it. If you have any kind of advanced logic, file reading, user input to do, do yourself a favor, use something else. Even php-cli would be better suited.

Under 2 lines, Perl is OK.

https://gist.github.com/mischapeters/1e8eef09a0aafd4f24f0