On 15/04/2010, at 01:14, Ian Lynagh wrote: > On Wed, Apr 14, 2010 at 07:28:02PM +1000, Roman Leshchinskiy wrote: >> >> FWIW, Solaris sh supports test ... -ot ... but not [ ... -ot ... ]. > > On sparky.ce.chalmers.se neither test nor [] supports -ot in sh. In bash > both work, and /bin/test (which runs the command in ksh) also works.
Ugh, I should have checked before posting. It's really just the test program that supports it, not the test builtin. Sorry for the confusion, it's been a while since I did any shell programming on Solaris. In any case, we can't rely on /bin/test or /usr/bin/test, can we? OS X has the former but not the latter and it's exactly the other way round on our local Linux installation. Perhaps just use make like Matthias suggested? Roman _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
