about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--examples/ex1.subx2
-rw-r--r--examples/ex10.subx2
-rw-r--r--examples/ex11.subx2
-rw-r--r--examples/ex12.subx2
-rw-r--r--examples/ex2.subx2
-rw-r--r--examples/ex3.subx2
-rw-r--r--examples/ex4.subx2
-rw-r--r--examples/ex5.subx2
-rw-r--r--examples/ex6.subx2
-rw-r--r--examples/ex7.subx2
-rw-r--r--examples/ex8.subx2
-rw-r--r--examples/ex9.subx2
12 files changed, 12 insertions, 12 deletions
diff --git a/examples/ex1.subx b/examples/ex1.subx
index 89ac8bce..5558d310 100644
--- a/examples/ex1.subx
+++ b/examples/ex1.subx
@@ -2,7 +2,7 @@
 # Just return 42.
 #
 # To run:
-#   $ ./subx translate examples/ex1.2.subx -o examples/ex1
+#   $ ./subx translate init.linux examples/ex1.2.subx -o examples/ex1
 #   $ ./subx run examples/ex1
 # Expected result:
 #   $ echo $?
diff --git a/examples/ex10.subx b/examples/ex10.subx
index 36a21bbe..468b3e5a 100644
--- a/examples/ex10.subx
+++ b/examples/ex10.subx
@@ -1,7 +1,7 @@
 # String comparison: return 1 iff the two args passed in at the commandline are equal.
 #
 # To run:
-#   $ ./subx translate examples/ex10.subx -o examples/ex10
+#   $ ./subx translate init.linux examples/ex10.subx -o examples/ex10
 #   $ ./subx run examples/ex10 abc abd
 # Expected result:
 #   $ echo $?
diff --git a/examples/ex11.subx b/examples/ex11.subx
index a6a24cfc..1590b010 100644
--- a/examples/ex11.subx
+++ b/examples/ex11.subx
@@ -6,7 +6,7 @@
 # a null-terminated 'kernel string' with a length-prefixed 'SubX string'.
 #
 # To run:
-#   $ ./subx translate examples/ex11.subx -o examples/ex11
+#   $ ./subx translate init.linux examples/ex11.subx -o examples/ex11
 #   $ ./subx run examples/ex11  # runs a series of tests
 #   ......  # all tests pass
 #
diff --git a/examples/ex12.subx b/examples/ex12.subx
index dafa0071..9c67f909 100644
--- a/examples/ex12.subx
+++ b/examples/ex12.subx
@@ -2,7 +2,7 @@
 # Create a new segment using mmap, save the address, write to it.
 #
 # To run:
-#   $ ./subx translate examples/ex12.subx -o examples/ex12
+#   $ ./subx translate init.linux examples/ex12.subx -o examples/ex12
 #   $ ./subx run examples/ex12
 # You shouldn't get a segmentation fault.
 
diff --git a/examples/ex2.subx b/examples/ex2.subx
index f99704de..8df4c62c 100644
--- a/examples/ex2.subx
+++ b/examples/ex2.subx
@@ -1,7 +1,7 @@
 # Add 1 and 1, and return the result in the exit code.
 #
 # To run:
-#   $ ./subx translate examples/ex2.subx -o examples/ex2
+#   $ ./subx translate init.linux examples/ex2.subx -o examples/ex2
 #   $ ./subx run examples/ex2
 # Expected result:
 #   $ echo $?
diff --git a/examples/ex3.subx b/examples/ex3.subx
index 21acfd66..f6f8c17d 100644
--- a/examples/ex3.subx
+++ b/examples/ex3.subx
@@ -1,7 +1,7 @@
 # Add the first 10 numbers, and return the result in the exit code.
 #
 # To run:
-#   $ ./subx translate examples/ex3.subx -o examples/ex3
+#   $ ./subx translate init.linux examples/ex3.subx -o examples/ex3
 #   $ ./subx run examples/ex3
 # Expected result:
 #   $ echo $?
diff --git a/examples/ex4.subx b/examples/ex4.subx
index 4ef72749..78a97433 100644
--- a/examples/ex4.subx
+++ b/examples/ex4.subx
@@ -1,7 +1,7 @@
 # Read a character from stdin, save it to a global, write it to stdout.
 #
 # To run:
-#   $ ./subx translate examples/ex4.subx -o examples/ex4
+#   $ ./subx translate init.linux examples/ex4.subx -o examples/ex4
 #   $ ./subx run examples/ex4
 
 == data
diff --git a/examples/ex5.subx b/examples/ex5.subx
index 0ea9c5ee..bacef8d4 100644
--- a/examples/ex5.subx
+++ b/examples/ex5.subx
@@ -1,7 +1,7 @@
 # Read a character from stdin, save it to a local on the stack, write it to stdout.
 #
 # To run:
-#   $ ./subx translate examples/ex5.subx -o examples/ex5
+#   $ ./subx translate init.linux examples/ex5.subx -o examples/ex5
 #   $ ./subx run examples/ex5
 
 == code
diff --git a/examples/ex6.subx b/examples/ex6.subx
index 9955b201..42612578 100644
--- a/examples/ex6.subx
+++ b/examples/ex6.subx
@@ -1,7 +1,7 @@
 # Print out a (global variable) string to stdout.
 #
 # To run:
-#   $ ./subx translate examples/ex6.subx -o examples/ex6
+#   $ ./subx translate init.linux examples/ex6.subx -o examples/ex6
 #   $ ./subx run examples/ex6
 #   Hello, world!
 
diff --git a/examples/ex7.subx b/examples/ex7.subx
index cf684f86..1c551cad 100644
--- a/examples/ex7.subx
+++ b/examples/ex7.subx
@@ -5,7 +5,7 @@
 # the character read.
 #
 # To run:
-#   $ ./subx translate examples/ex7.subx -o examples/ex7
+#   $ ./subx translate init.linux examples/ex7.subx -o examples/ex7
 #   $ ./subx run examples/ex7
 # Expected result:
 #   $ echo $?
diff --git a/examples/ex8.subx b/examples/ex8.subx
index 25191d85..0cda5908 100644
--- a/examples/ex8.subx
+++ b/examples/ex8.subx
@@ -1,7 +1,7 @@
 # Example reading commandline arguments: compute length of first arg.
 #
 # To run:
-#   $ ./subx translate examples/ex8.subx -o examples/ex8
+#   $ ./subx translate init.linux examples/ex8.subx -o examples/ex8
 #   $ ./subx run examples/ex8 abc de fghi
 # Expected result:
 #   $ echo $?
diff --git a/examples/ex9.subx b/examples/ex9.subx
index 9a6105de..3ba0acc0 100644
--- a/examples/ex9.subx
+++ b/examples/ex9.subx
@@ -4,7 +4,7 @@
 # letter of second arg.
 #
 # To run:
-#   $ ./subx translate examples/ex9.subx -o examples/ex9
+#   $ ./subx translate init.linux examples/ex9.subx -o examples/ex9
 #   $ ./subx run examples/ex9 z x
 # Expected result:
 #   $ echo $?