[Pkg-javascript-devel] Bug#553621 closed by Niels Thykier <niels at thykier.net> (Re: Bug#553621: lintian: add javascript to the usual interpreters)

Jérémy Lal kapouer at melix.org
Mon Aug 15 22:13:42 UTC 2011


>>> Jeremy Lal <kapouer at melix.org> wrote:
>>> I know javascript is, for now, not a usual interpreter, but with
>>> spidermonkey and libv8's node.js server, it's certainly growing to be
>>> more common.  I guess /usr/bin/javascript is a reasonnable name for the
>>> interpreter, though for now no package provides it.

>> Russ Allbery <rra at debian.org> wrote:
>> I don't really understand this request.  If there's no such binary as
>> /usr/bin/javascript, why would any file start with #!/usr/bin/javascript?
>> Only files starting with that string would trigger this tag, and that
>> string specifically means that there exists some binary named
>> /usr/bin/javascript on the system that will run that script.

> Niels Thykier <niels at thykier.net> wrote:
> This bug as been tagged "moreinfo" for over a year, so I am taking the
> liberty of closing the bug to clean up the bug tracker.  If this
> particular request is still of interest to you, please reply to this
> email with the relevant information.

My apologies, i forgot or did not read Russ answer.
CCing to pkg-javascript-devel.

There is the /usr/bin/js alternative provided by spidermonkey-bin, nodejs.

But i am not so sure it is useful as a "usual interpreter" now,
because all scripts doing something with i/o must use smjs or node,
so they wouldn't have /usr/bin/js in their shebang.

Jérémy.




More information about the Pkg-javascript-devel mailing list