rosetta code: tape
authorJean Privat <jean@pryen.org>
Mon, 7 Mar 2016 20:26:34 +0000 (15:26 -0500)
committerJean 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]

diff --git a/examples/rosettacode/tape.nit b/examples/rosettacode/tape.nit
new file mode 100644 (file)
index 0000000..1ff531a
--- /dev/null
@@ -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")