about summary refs log tree commit diff stats
path: root/subx/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-11-30 22:57:52 -0800
committerKartik Agaram <vc@akkartik.com>2018-11-30 22:57:52 -0800
commitc7d45d918ba631c81aaaa84890287d8f9df5bdf5 (patch)
tree5f524251cd565a996adb53808d9d26a02025b7e5 /subx/apps
parentc6f522007de6f96e79d52ae9db2e23333c318c8f (diff)
downloadmu-c7d45d918ba631c81aaaa84890287d8f9df5bdf5.tar.gz
4812
Diffstat (limited to 'subx/apps')
-rw-r--r--subx/apps/crenshaw2-1.subx2
-rw-r--r--subx/apps/crenshaw2-1b.subx2
-rw-r--r--subx/apps/factorial.subx4
3 files changed, 4 insertions, 4 deletions
diff --git a/subx/apps/crenshaw2-1.subx b/subx/apps/crenshaw2-1.subx
index 42c5b119..d29671da 100644
--- a/subx/apps/crenshaw2-1.subx
+++ b/subx/apps/crenshaw2-1.subx
@@ -3,7 +3,7 @@
 # except that we support hex digits.
 #
 # To run (from the subx/ directory):
-#   $ ./subx translate *.subx apps/crenshaw2-1.subx -o crenshaw2-1
+#   $ ./subx translate *.subx apps/crenshaw2-1.subx -o apps/crenshaw2-1
 #   $ echo '3'  |./subx run apps/crenshaw2-1
 # Expected output:
 #   # syscall(exit, 3)
diff --git a/subx/apps/crenshaw2-1b.subx b/subx/apps/crenshaw2-1b.subx
index 54264d56..a2c48fa1 100644
--- a/subx/apps/crenshaw2-1b.subx
+++ b/subx/apps/crenshaw2-1b.subx
@@ -3,7 +3,7 @@
 # except that we support hex numbers of multiple digits.
 #
 # To run (from the subx/ directory):
-#   $ ./subx translate *.subx apps/crenshaw2-1b.subx -o crenshaw2-1b
+#   $ ./subx translate *.subx apps/crenshaw2-1b.subx -o apps/crenshaw2-1b
 #   $ echo '1a'  |./subx run apps/crenshaw2-1b
 # Expected output:
 #   # syscall(exit, 1a)
diff --git a/subx/apps/factorial.subx b/subx/apps/factorial.subx
index 1e6d7bfb..bf2dd75e 100644
--- a/subx/apps/factorial.subx
+++ b/subx/apps/factorial.subx
@@ -1,8 +1,8 @@
 ## compute the factorial of 5, and return the result in the exit code
 #
 # To run (from the subx directory):
-#   $ subx translate apps/factorial.subx -o apps/factorial
-#   $ subx run apps/factorial
+#   $ ./subx translate apps/factorial.subx -o apps/factorial
+#   $ ./subx run apps/factorial
 # Expected result:
 #   $ echo $?
 #   120