Hacker News new | ask | show | jobs
by e12e 4373 days ago
Hm, which version of [ is that? I get:

    $ /usr/bin/[ 1 -gt 0 && echo success
    /usr/bin/[: missing `]'
    $ /usr/bin/[ 1 -gt 0 ] && echo success
    success
(This is from coreutils 8.13-3.5 on Debian GNU/Linux)
1 comments

What ships in OS X 10.9, presumably BSD-derived.