News for hackers. Stuff that matters.
Re:How to write idempotent Bash scripts (2019) by xonix on Wednesday December 08, 2021 @05:39PM (#29491502)
Idempotence is achievable elegantly with makesure tool [1] using @reached_if directive [2]. Full disclosure - I’m the author of the tool.

[1] https://github.com/xonixx/makesure

[2] https://github.com/xonixx/makesure#reached_if

There are no comments on this comment yet.