Steve Crosby wrote:
Just drop the "[" construct altogether and use /bin/test exclusively?
Well, I'd much prefer just punting on this. Let's just assume that if a shell implements 'test' then it does so in a standards conformant manner. If it doesn't then the affected user reports it as a bug upstream. Our scripts *do* conform to the standard, and I personally think that's the best we can do.
Regards,
Matt. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page