On Mon, Mar 12, 2012 at 12:22:36AM -0400, DJ Mills wrote:
> ... '[' is just a command, like any other. Same with '&&'
Most commands ('&&' included) don't require terminating constructs
further along the command line, so '[' seems unusual to me.
I suppose the standalone command /usr/bin/[ may check for ] as its
last argument, but otherwise the shell probably parses the whole [
... ] construct.
I prefer using 'test' over '[' in scripts, but is the latter more
efficient?
Ken