nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebe385d
)
rosetta code: tape
author
Jean Privat
<jean@pryen.org>
Mon, 7 Mar 2016 20:26:34 +0000
(15:26 -0500)
committer
Jean Privat
<jean@pryen.org>
Wed, 23 Mar 2016 20:07:17 +0000
(16:07 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
examples/rosettacode/tape.nit
[new file with mode: 0644]
patch
|
blob
diff --git a/examples/rosettacode/tape.nit
b/examples/rosettacode/tape.nit
new file mode 100644
(file)
index 0000000..
1ff531a
--- /dev/null
+++ b/
examples/rosettacode/tape.nit
@@ -0,0
+1,10
@@
+#!/usr/bin/env nit
+#
+# This file is part of NIT ( http://www.nitlanguage.org ).
+# This program is public domain
+
+# Task: Create_a_file_on_magnetic_tape
+# SEE: <http://rosettacode.org/wiki/Create_a_file_on_magnetic_tape>
+module tape
+
+"Hello, World!".write_to_file("/dev/tape")