News for hackers. Stuff that matters.
Re:Bash Pitfalls by JoshTriplett on Sunday August 16, 2015 @03:51PM (#10070044)
> [[ instead of [

I have yet to see a good rationale for this. If you need the additional operators [[ provides, such as regular expression matching, great. Otherwise, why not just use [ and remain portable?

Re:Bash Pitfalls by a3n on Sunday August 16, 2015 @04:19PM (#10070126)
If you're worried about portability in shell scripts, you should probably be using sh anyway.