Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
noinsight
· 6y ago · 0 comments
There's nothing simple about shell scripts. Idempotency is the main thing - and a great thing.
Comments
[–]
beefbroccoli
6y 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.