From 3701243d225608bf4c9750013080464774452564 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Thu, 23 Apr 2020 14:45:33 -0400 Subject: added tmparg --- Makefile | 4 +++- tmparg.sh | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 tmparg.sh 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 -- cgit