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

Re: Password file with over 3000 users.



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.

but that only applies to debian packages, not to whatever you write for
yourself.


[1] i doubt if anyone actually does that or cares any more. there arent
many (any?) systems being built where the extra disk-space, memory etc
used by bash compared to ash actually make any difference at all.


craig

-- 
craig sanders <cas@taz.net.au>



Reply to: