about summary refs log tree commit diff stats
path: root/subx/edit
diff options
context:
space:
mode:
Diffstat (limited to 'subx/edit')
-rwxr-xr-xsubx/edit10
1 files changed, 10 insertions, 0 deletions
diff --git a/subx/edit b/subx/edit
new file mode 100755
index 00000000..39aa9d38
--- /dev/null
+++ b/subx/edit
@@ -0,0 +1,10 @@
+#!/usr/bin/env zsh
+# Open a specific example.
+
+if [ $# -eq 0 ]
+then
+  echo "edit <suffix>"
+  exit 1
+fi
+
+$EDITOR ./teensy/test$1*.[cs]