Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Copying over the commands to run also has another added benefit, you have quite good documentation of what was run and when. Also it allows one to easily run a failing thing again (in case output gets mangled in the executing script)


And idempotency is essential for shell scripts that alter state. Otherwise you have to keep track of where failures happened.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: