• [^] # Re: posix

    Posté par (site web personnel) . En réponse au journal Shebang #!/usr/bin/env sh : testé et approuvé. Évalué à 2.

    Hmmm, merci pour le conseil, c'est récent, car :

    $ cat test.sh
    #!/usr/bin/env -S bash --posix
    echo toto
    $ ./test.sh 
    /usr/bin/env: invalid option -- 'S'
    Try '/usr/bin/env --help' for more information.
    $ uname -a
    Linux nuc-stats 3.14.43-desktop-1.mga4 #1 SMP Thu May 21 21:25:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

    mais sur ma machine, mga7, ça passe.