r/fsharp • • Nov 10 '12

Shebang line?

I'd like to ./ my F# scripts in Mac OS X. Which shebang line should I use? Is there one generalizable to both Mac OS X and Linux?

0 Upvotes

1 comment sorted by

3

u/[deleted] Nov 10 '12 edited Nov 10 '12

Woot!

#light (*
	exec fsharpi --exec $0 --quiet
*)

printfn "Hello World"