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 ? Best regards, Tony. -- Then here's to the City of Boston, The town of the cries and the groans. Where the Cabots can't see the Kabotschniks, And the Lowells won't speak to the Cohns. -- Franklin Pierce Adams --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---