W dniu 25 października 2011 08:32 użytkownik Matej Cepl
> Dne 24.10.2011 22:27, Michał Piotrowski napsal(a):
>> Yeah, this solution has its drawbacks, but it also has undoubted
> I am probably dumb, but could you tell me some *undoubted* advantage of
> #!/usr/bin/env sh
You can alias sh to other shell.
I need to use this from time to time on some servers, for example
alias php='/usr/local/php5.3/bin/php -c
Without this trick I would not be able to use php 5.3 cli on my shared hosting.
> (note, that couple of years ago, we were removing /usr/bin/env python
> from all Python scripts in Fedora packages, and replacing them with
> /usr/bin/python, because it was (rightly) agreed, that the moment Fedora
> doesn't have Python in /usr/bin we have much bigger problems to solve).
> devel mailing list
> devel@list... > https://admin.fedoraproject.org/mailman/listinfo/devel >