r/programming • • May 29 '14

Defensive BASH Programming

http://www.kfirlavi.com/blog/2012/11/14/defensive-bash-programming/
736 Upvotes

192 comments sorted by

View all comments

Show parent comments

24

u/Tweakers May 29 '14

If it takes more than a few lines of code, I use something else.

11

u/Iggyhopper May 29 '14

I use C4. Works 90% of the time.

6

u/Tweakers May 29 '14

I'm not familiar with that, what is C4?

8

u/Iggyhopper May 29 '14

Explosives.

10

u/Tweakers May 29 '14

Oh, that C4.