Re: Password file with over 3000 users.
On Fri, Sep 21, 2007 at 07:25:12PM +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?
>
> ok that makes only 3 but still (potato sarge etch iirc for that matter)
>
> martin
>
Debian has a number of items, among them, bash, awk, vi, etc., that are
part of a system of 'alternatives.' These are items with can do a task
in a similar way like dash, ash, bash,... When certain debian packages
are installed, they alter these setting, if a new package is install
that can take the place of an alternative. But some alternatives are
setup as part of the basic system like bash pointing to sh. When /bin/sh
is invoked, it is actually calling /bin/bash, but since it is using a
different program name ($0 = 'sh' and not 'bash'), it uses
sh-emulation-mode and acts like sh, which is supposed to be a
posix-compatible shell. All scripts used by Debian package maintainers
are suppose to adhere to a certain standard, they should use
posix-compatible shell scripting language (unless they use perl, the
other basic language that is part of the system).
Hope that explains.
-K
--
| .''`. == Debian GNU/Linux == | my web site: |
| : :' : The Universal |mysite.verizon.net/kevin.mark/|
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian! |
|_______ Unless I ask to be CCd, assume I am subscribed _______|
Reply to: