Re: Bug#2845: file and the "#! interpreter" construction
On Mon, 29 Apr 1996, Bruce Perens wrote:
>Package: file
>
>File reports a script beginning with "#!" followed by white space as an
>ASCII file. If there is no white space, it reports it as a script, which
>is correct.
>
>White space is very definitely allowed after #! . See the execve(2) man page.
File-3.19 does recognize blanks in this context, but not tabs.
I'll shortly be uploading file-3.19-2 to fix this. I'm also
copying this email to christos@deshaw.com, moraes@deshaw.com
to report this to the upstream maintainers. The change I made
was to add the following lines (with a literal tab char) to
the source package file Magdir/commands:
0 string #!\ / a
>3 string >\0 %s script text
Reply to: