[r6rs-discuss] [Formal] "#! /usr/bin/env" is not "portable." It's Unix-specific.

From: MichaelL_at_frogware.com <MichaelL>
Date: Wed Nov 15 12:57:04 2006

> > Really? We're talking about scripts, after all, and for most
> > scripting languages (Ruby, Tcl, etc.) it wouldn't be a problem. Does
> > Fortran have a mode that allows you to use a #! line? I would have
> > thought that Fortran code would always have to be compiled, but I
> > don't write Fortran code so I don't really know.
>
> The relevant question is: WHY is concatenating Scheme files useful?

Because some Schemes take a while to get up and running. The Java Schemes,
for example, have to get Java up and running. But hey, what I'm talking
about is a corner case. I guess my main point was that #! as a comment was
more general and therefore potentially more useful. I was just giving an
example of how it might be more useful. I freely admit that it might be
too small and silly an example to consider.

I can't believe that, given all the things covered by R6RS, so many people
(incl me now) are spending so much time talking about this particular
point! The most important thing is that implemetations shouldn't be
required to always ignore the first line. Past that it doesn't matter so
much. Unless the solution is something equally silly. :-)
Received on Wed Nov 15 2006 - 12:57:39 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:00 UTC