"shwaresyst via austin-group-l at The Open Group" <austin-group-l@opengroup.org> wrote:
> No, it's not nonsense. The definition of comment has all characters, > including '!', shall be ignored until newline or end-of-file being > conforming. Then tokenization which might discover an operator, keyword or > command continues. This precludes "#!" being recognized as any of those. > There is NO allowance for '!' being the second character as reserved for > implementation extensions. #!/bad of course is a normal comment from the vew if a normal shell. An execption is mz old "bsh" (not bosh) on a historic UNIX without support for #! in the kernel. On all recent platforms, #! is just another *magic number* that is handled by the kernel only. POSIX of course does not limit what magics are recognised by the kernel. Jörg -- EMail:jo...@schily.net Jörg Schilling D-13353 Berlin Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/