about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/print-file.mu6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/print-file.mu b/apps/print-file.mu
index 8bec0105..a4b90208 100644
--- a/apps/print-file.mu
+++ b/apps/print-file.mu
@@ -1,5 +1,11 @@
 # accept a filename on the commandline, read it and print it out to screen
 # only ascii right now, just like the rest of Mu
+#
+# To run:
+#   $ ./translate_mu apps/print-file.mu
+#   $ echo abc > x
+#   $ ./a.elf x
+#   abc
 
 fn main _args: (addr array (addr array byte)) -> exit-status/ebx: int {
   var args/eax: (addr array (addr array byte)) <- copy _args