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

MichaelL at frogware.com MichaelL at frogware.com
Wed Nov 15 12:57:39 EST 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. :-)



More information about the r6rs-discuss mailing list