diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-04-23 14:45:33 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-04-23 14:45:33 -0400 |
commit | 3701243d225608bf4c9750013080464774452564 (patch) | |
tree | cc2d3bd9669012dd391c3a0a691a588109c419a6 | |
parent | 9c3dd7f2d013653fcc0ed50903a35193697150d3 (diff) |
-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 |