-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Han Boetes wrote: > Buchan Milne <[EMAIL PROTECTED]> wrote: > >>On Thu, 24 Jul 2003, Han Boetes wrote: >> >> >>>Don't forget to mention that ash strifes for complete POSIX compliance >>>and is therefor ideal for testing your shell-scripts for portability. >> >>Just don't link it as /bin/sh while testing, since initscripts package >>uses #!/bin/sh, but contains bash-isms. You machine won't boot >>properly with ash! Probably I should get around to filing a bug on >>initscripts that it should use #!/bin/bash ... > > > Within a few years you may read this message back and blush. >
I don't think so. > You would put #!/bin/ash in the script. No kidding. But if you have 50-100 scripts you want to test, it is much quicker to link ash to sh, then you only have to edit the ones which use bash-isms, not all of them. But it is still a bug that scripts which requires bash use #!/bin/sh, if they won't work with a strictly compliant Bourne shell (such as ash), then they must use #!/bin/bash. Regards, Buchan - -- |--------------Another happy Mandrake Club member--------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x202 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/IPcUrJK6UGDSBKcRAtxCAJ9CoJgOOeKwxpoRa5krEzQ78PecDACfXXz1 1qeux10aMgz7bGnGVelwC4g= =VBOq -----END PGP SIGNATURE----- ****************************************************************** Please click on http://www.cae.co.za/disclaimer.htm to read our e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy. ******************************************************************
