2 ms·
> [[ 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.
by JoshTriplett 11y ago
> [[ 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?
- a3n 11y agoIf you're worried about portability in shell scripts, you should probably be using sh anyway.