Re:Things I Wish I'd Known About Bash
by _kst_ on Saturday January 06, 2018 @05:42PM
(#16087897)
I'd make the limit a lot more than 10 lines.
I certainly prefer Perl for large scripts (Python is good too but I happen to know Perl better), but I often have to write scripts for targets that have bash but don't have Perl or Python. Since I've been forced to use bash, I've found it to be a better scripting language than I expected it to be.
Re:Things I Wish I'd Known About Bash
by sethrin on Saturday January 06, 2018 @06:25PM
(#16088069)
10 lines is a rule which is meant to be broken. Rules exist to guide the novice, and to inform the expert. Bash is an extremely useful tool, but not one which should be employed carelessly or casually.
I certainly prefer Perl for large scripts (Python is good too but I happen to know Perl better), but I often have to write scripts for targets that have bash but don't have Perl or Python. Since I've been forced to use bash, I've found it to be a better scripting language than I expected it to be.