[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: POSIX shell; bash ash pdksh & /bin/sh

> Yes, for example, electric-fence.postinst ;-)
> #!/bin/bash -e
> ldconfig
> (There are more "examples" like this one).
You can report bugs agains that based on policy:

     Restrict your script to POSIX features when possible so that it may
     use `/bin/sh' as its interpreter. If your script works with ash, it's
     probably POSIX compliant, but if you are in doubt, use `/bin/bash'.

but that's it. If people want to have /bin/sh point to some other shell
they can just go ahead and do it. All the benefits of using a possibly smaller
shell will be realised with the exception of using less disk space. And it
will be *their* choice to risk breaking the system.

Luis Francisco Gonzalez <luisgh@cogs.susx.ac.uk>
PGP Fingerprint = F8 B1 13 DE 22 22 94 A1  14 BE 95 8E 49 39 78 76

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: