On Sat, Aug 25, 2001 at 02:52:52PM +1000, Drew Parsons wrote: > On Sat, Aug 25, 2001 at 03:20:28AM +1000, Drew Parsons wrote: > > Lastly, is there a reliable way of confirming that I do not in fact have any > > bashisms, so that #!/bin/sh would be sufficient? sh is linked to bash, so > > simply writing #!/bin/sh in the script is not sufficient. > > I tried ash, it gave the error: > > [: ==: unexpected operator
That one's easy, = instead of == is more portable in test (or [) constructs. -- Colin Watson [EMAIL PROTECTED]