Thanks to all who answered! #!/usr/local/bin/runhugs does the trick. So much to read.
Best, John Velman On Sat, Oct 23, 2004 at 03:38:18PM +0900, Koji Nakahara wrote: > On Fri, 22 Oct 2004 16:05:29 -0700 > John Velman <[EMAIL PROTECTED]> wrote: > > One of the nice things about perl (for example) is that you can put > > together a script with #!/usr/local/perl (in bash for example) as the first > > line of a file and run it immediately. I've used perl a lot this way with > > simple 'throw away' scripts to do special filtering on a file, or some > > other processing that I want to do one or a few times. occasionally, a > > script like this will have a more permanant value to me, and I keep it > > around. > > > > Is there some way to do something similar in with Haskell? I've tried the > > most obvious (to me) test with Hugs and it doesn't work. > > #!/usr/local/bin/runhugs > will do the trick. See hugs(1). > > Haskell does really good job for me where perl had been used! > > -- > Koji Nakahara > _______________________________________________ > Haskell-Cafe mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe