3 ms·
> Unless you can carefully code, it's not worth pretending a script to be idempotent. Just because you can't reach perfection doesn't mean it's useless to stri
by AceJohnny2 5y ago
> Unless you can carefully code, it's not worth pretending a script to be idempotent.
Just because you can't reach perfection doesn't mean it's useless to strive towards it.
Idempotency is a very useful property that more shell script writers should be made aware of, even if they only learn basic things like "mkdir -p" or "rf -f SOMEFILE"