projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7bfa16
)
Document csharp #! support
author
Miguel de Icaza
<miguel@gnome.org>
Sun, 30 Jan 2011 16:40:59 +0000
(11:40 -0500)
committer
Miguel de Icaza
<miguel@gnome.org>
Sun, 30 Jan 2011 16:40:59 +0000
(11:40 -0500)
man/csharp.1
patch
|
blob
|
history
diff --git
a/man/csharp.1
b/man/csharp.1
index 2f6497d2e90474e334264bcca4b53b5460f0f465..e90aca38294aacca2a3d3cbbc92f19edb3afe7f8 100644
(file)
--- a/
man/csharp.1
+++ b/
man/csharp.1
@@
-29,6
+29,16
@@
target process.
.PP
Files specified in the command line will be loaded and executed as
scripts.
+.PP
+Starting with Mono 2.10, the
+.I csharp
+command can be used as an interpreter executed by executables flagged
+with the Unix execute attribute. To do this, make the first line of
+your C# source code look like this:
+.nf
+"#!/usr/bin/csharp"
+Console.WriteLine ("Hello, World");
+.fi
.SH OPTIONS
.TP
.I "\-\-attach"