Tony Mechelynck wrote:
> On 11/04/09 04:16, Matt Wozniski wrote:
>> On Fri, Apr 10, 2009 at 6:43 PM, Tony Mechelynck wrote:
>>> Couldn't you run "test" just once? Maybe something more or less like
>>>
>>>         if test -n "$x_includes" -a "$x_includes" != "NONE"
>>>
>>> Just my sense of aesthetics, I'm not on a Mac.
>> Usually, yes - but lore tells of shells where "test" isn't POSIX
>> compatible, where "-a" and "-o" don't behave predictably but "&&" and
>> "||" do...
>>
>> *shrug*
>>
>> ~Matt
> 
> Hm. What about the shells available on the Mac, and in particular on Mac 
> OS X ?

This test is not limited to Mac OS X. I am pretty sure you could
reproduce $x_includes == "NONE" on another platform as well.

Rainer

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui