summaryrefslogtreecommitdiff
path: root/runv
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-10-20 11:39:21 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2019-10-20 11:39:21 -0400
commit89f00af3cf25d594f10aebaa7048a17bdd520c4b (patch)
treebbb22f3ffe808bca6849fd66693b094221a047fb /runv
parentbfd0a7f6fbf22914631337b3871011f452d3fb94 (diff)
improved new; new slices
Diffstat (limited to 'runv')
-rwxr-xr-xrunv2
1 files changed, 2 insertions, 0 deletions
diff --git a/runv b/runv
index 698e83d..e892908 100755
--- a/runv
+++ b/runv
@@ -2,4 +2,6 @@
valgrind -q --track-origins=yes ./toc test.toc || exit 1
if [ "$1" = "c" ]; then
gcc out.c && ./a.out
+elif [ "$1" = "pc" ]; then
+ cat out.c
fi