summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-04-23 14:45:33 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-04-23 14:45:33 -0400
commit3701243d225608bf4c9750013080464774452564 (patch)
treecc2d3bd9669012dd391c3a0a691a588109c419a6
parent9c3dd7f2d013653fcc0ed50903a35193697150d3 (diff)
added tmpargHEADmaster
-rw-r--r--Makefile4
-rw-r--r--tmparg.sh6
2 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7f6021d..24a78c4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,12 @@
.POSIX:
-OBJ = timer
+OBJ = timer tmparg
BIN = /usr/local/bin
all: $(OBJ)
timer: timer.c
+tmparg: tmparg.sh
+
install: all
cp $(OBJ) $(BIN)
diff --git a/tmparg.sh b/tmparg.sh
new file mode 100644
index 0000000..9167536
--- /dev/null
+++ b/tmparg.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export FILE=`mktemp`
+cat > $FILE
+$@ $FILE
+rm $FILE