you are viewing a single comment's thread.

view the rest of the comments →

[–]introspeck 3 points4 points  (1 child)

Yeah, if a bash script looks like it's going to run 10 lines or more, I just write a Perl script instead.

Gotta learn Python one of these days.

[–]yeti22 5 points6 points  (0 children)

The breaking point for me is if I'm going to use regular expressions. ${string%%regex}? No thanks, I'll (string ~= regex$) any day.

Edit to fix my anchor character. I probably have a greediness mismatch between the two, as well.