Garrett Holmstrom gholms@fedoraproject.org writes:
On Mon, Jan 25, 2010 at 6:09 AM, Bryn M. Reeves bmr@redhat.com wrote:
It's cute isn't it? I had the biggest grin the day I realised that '[' was just another command..
That's the reason [[ can use special characters like < and > without escaping, while [ can't: [[ is a builtin, but [ isn't.
Well, [ is a builtin too, but [[ is a keyword recognised by the parser, thus it can use special parsing rules.
Andreas.