Jan Pechanec napsal/wrote, On 11/18/08 16:35:
--- Single Unix Specification verze 2 ---------------------
...
If the first line of a file of shell commands starts with the characters #!,
the results are unspecified.
...
A portable application cannot use #! as the first line of a shell script ...
-----------------------------------------------------------
Ta prvni veta mi zni az necekane pravdive ;-)
hmm, to je dobry, tohle jsem opravdu netusil. To mi skoro zni jako
ze kazdy system si to dela trochu jinak a nebylo mozny se dohodnout na jedny
konkretni specifikaci, tak radeji explicitne rikaji, aby na to clovek
nespolehal. Predpokladam ze v SUSv3 je to to samy.
Ja jsem to useknul predcasne - ze zbytku vety to vypadalo, ze se spis
boji, ze se nelze spolehnout na to, ze kazdy interpreter bude ten prvni
radek interpretovat jako komentar ...
Dan
--
FreeBSD mailing list (users-l@freebsd.cz)
http://www.freebsd.cz/listserv/listinfo/users-l