Matthew Burgess wrote:
http://www.opengroup.org/onlinepubs/009695399/utilities/test.html suggests it's standardised, so as long as the shell you're using adheres to the SUSV3 standard that construct should work just fine.

OK, cluebat needed. Both '[' and 'test' are bash builtins as well as binaries in /bin. Is there anyway we can force the bootscripts to choose the implementations in /bin without having to rely on potentially non-SUSV3 conformant shell builtin implementations? Obviously we could call /bin/{[,test]} explicitly though that's really ugly.


I don't even know whether there are other shells that implement '[' and 'test' as builtins, or whether those implementations are SUSV3 conformant, so this may in fact be a non-issue.

Regards,

Matt.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to