Garrett Holmstrom <gho...@fedoraproject.org> writes:

> On Mon, Jan 25, 2010 at 6:09 AM, Bryn M. Reeves <b...@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.

-- 
Andreas Schwab, sch...@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to