News for hackers. Stuff that matters.
Re:Use the Unofficial Bash Strict Mode (Unless You Love Debu... by ycmbntrthrwaway on Saturday March 19, 2016 @08:15AM (#11318233)
> the reason is complex, I'll leave it as a puzzle for the reader

    [ -n ]
is the same as

    test -n
In this case -n has no argument, so it cannot be parsed as "-n STRING", instead it is parsed as "STRING", where STRING is "-n", with the behaviour "True if string is not empty.".

There are no comments on this comment yet.