Re: '/usr/bin/[' (was RE: FC12: Hidden files in /usr/bin/*)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Bryn M. Reeves" <bmr@xxxxxxxxxx> writes:

> On Mon, 2010-01-25 at 17:44 +0100, Andreas Schwab wrote:
>> "Bryn M. Reeves" <bmr@xxxxxxxxxx> writes:
>> 
>> > <nitpick> [ may be a built in but then again (as its presence
>> > in /usr/bin implies) it may not be :).
>> 
>> Like any other command.
>
> But unlike '[[' which is the point I was replying to. Afaik you can't
> provide a '[[' binary and have it mimic the builtin exactly.

Because [[ is not a command, it is a reserved word, part of the shell
grammar.  That is the key difference, not the built-in property.

Andreas.

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux