summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/runghc/runghc.cabal.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/runghc/runghc.cabal.in b/utils/runghc/runghc.cabal.in
index defb5118c3..cf0d085a34 100644
--- a/utils/runghc/runghc.cabal.in
+++ b/utils/runghc/runghc.cabal.in
@@ -11,9 +11,10 @@ Description:
to be used as a UNIX-style script interpreter. For instance,
.
@
- $ cat Hi.hs
- \#!/usr/bin/env runghc
- main = putStrLn "hello!"
+ $ cat <<EOF > Hi.hs
+ > \#!/usr/bin/env runghc
+ > main = putStrLn "hello!"
+ > EOF
$ chmod u+x Hi.hs
$ ./Hi.hs
hello!