Bonjour,

Le mer 04/12/2002 � 17:29, [EMAIL PROTECTED] a �crit :
> >
> > > >#!/bin/bash
> > >         ^^^^
> > > utilise /bin/sh et ca marche...

> sachant que sur une debian on � ceci
> bulgroz:~ > ls -l /bin/sh
> lrwxrwxrwx    1 root     root            4 Oct 29 16:09 /bin/sh -> bash

M�me avec ce lien, bash ne r�agit pas pareil s'il il est appell� sh (1).
Donc si son script contient des bashismes, il ne fonctionnera plus avec
un #!/bin/sh ...


(1) man bash :
If  bash  is  invoked  with  the name sh, it tries to mimic the startup
behavior of historical versions of sh as  closely  as  possible,  while
conforming  to the POSIX standard as well.


Bruno

-- 
18:30 Salut tous, que me conseillez vous entre slackware 7.1 et debian
      2.2 (je vais avoir les 2) ? merci
18:38 18:30 Emacs, euh non Mandrake.

Répondre à