[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: #!/usr/local/bin/wml

On Tue, Mar 02, 1999, Gerfried Fuchs wrote:

> On 01 Mar 1999, Denis Barbier <barbier@imacs.polytechnique.fr> wrote:
> > The problem is that you did not specify any filename. Typing
>  No, that's not the problem. Writing
> wml -o toto.html toto.wml
>  should be the same as
> #!/usr/local/bin/wml -o toto.html
>  for it works exactly this way with a perl script or any shell script.
>  Maybe the the line is equivalent to
> wml -o toto.html < toto.wml
>  but wml also understand this syntax. It's a problem with the kernel, I
> think? The kernel does parse this line, doesn't it?

Yes, shebangs are a feature of the Unix executable loader.

                                       Ralf S. Engelschall
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com