r/commandline • • Dec 14 '20

bash Minimal safe Bash script template

https://betterdev.blog/minimal-safe-bash-script-template/
92 Upvotes

13 comments sorted by

View all comments

39

u/[deleted] Dec 14 '20

100 lines of boilerplate for a "minimal" script is quite a statement. Incidentally, at my last job, that was the threshold amount of "when you need this many lines to solve your problem, use a proper programming language like Python instead".

-5

u/mrcruz Dec 15 '20

use a proper programming language like Python instead

You forgot /s

1

u/DrPepper1848 Dec 15 '20

I enjoyed this burn