Y
Hacker News
new
|
ask
|
show
|
jobs
by
noinsight
2061 days ago
There's nothing simple about shell scripts. Idempotency is the main thing - and a great thing.
1 comments
beefbroccoli
2058 days ago
People talk about idempotency, as if it's complicated because it's a 5 syllable word.
if ! which sometool; then install sometool fi
That's an idempotent shell script, in all it's simple glory.
link