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

Re: Password file with over 3000 users.



This one time, at band camp, Craig Sanders said:
> On Fri, Sep 21, 2007 at 07:26:56PM +0200, Martin Marcher wrote:
> > 2007/9/21, Thomas Goirand <thomas@goirand.fr>:
> > > But the reference for Debian is sh, not bash... (at least when writing
> > > packages).
> > 
> > why is it then that /bin/sh is /bin/bash after a plain install of
> > about every stable version i had by now?
> 
> whatever the default sh is (bash), debian's policy says that init.d
> etc shell scripts must not use any bash-isms. i.e. they must be
> POSIX-compliant so they will work if you replace[1] /bin/sh with
> ash/dash.

This is only true if the shebang is /bin/sh - you are of course free to
write maintainer scripts with /bin/bash as the shebang, just as your
free to write perl scripts for your maintainer scripts.  That being
said, there is a push for dash to replace bash as the dfeault
non-interactive shell for lenny.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature


Reply to: