diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | tmparg.sh | 6 |
2 files changed, 9 insertions, 1 deletions
@@ -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 |