
17 Apr
2012
17 Apr
'12
4:23 p.m.
On Tue, 17 Apr 2012 13:06:45 +0200, Vinay Sajip
I'm not saying runhaskell needs to do anything more than skip a shebang line, on Windows, if it sees one. Otherwise, you can't have cross-platform scripts on Windows and Linux.
On my Windows XP system, the shebang line is ignored: HashBang.hs: ----✁--------- #!/usr/bin/env runhaskell main = print "Hello!" ----✃---------
runhaskell HashBang.hs "Hello!"
which runhaskell.exe C:\Program Files\Haskell Platform\2011.4.0.0\bin\runhaskell.exe
Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming --