Re: Bug installation bash ?
edeveaud@pasteur.fr writes:
> On Wed, 4 Dec 2002, Rénald CASAGRAUDE wrote:
> On mardi, déc 3, 2002, at 11:37 Europe/Paris, Michelle Konzack wrote:
>
> Hello !
>
> > >#!/bin/bash
> > ^^^^
> > utilise /sbin/sh et ca marche...
> ^^^^^
> /bin/sh plutôt :)
>
> #!/bin/bash
> devrait fonctionner !
> sachant que sur une debian on à ceci
> bulgroz:~ > ls -l /bin/sh
> lrwxrwxrwx 1 root root 4 Oct 29 16:09 /bin/sh -> bash
Pas nécessairement. Il suffit d'intaller ash pour voir que le lien passe
sur ash. Donc attention aux bashisms quand on écrit un script shell.
Christian
Reply to: