aboutsummaryrefslogtreecommitdiff
path: root/ep
diff options
context:
space:
mode:
Diffstat (limited to 'ep')
-rw-r--r--ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/ep b/ep
index 3fb8a0d..4be6317 100644
--- a/ep
+++ b/ep
@@ -2,7 +2,7 @@
# ep -- edit pipe
-tmp=/tmp/ep.$RANDOM
+tmp=`mktemp /tmp/ep.XXXXXX`
cat > $tmp
${EDITOR:-vi} $tmp < /dev/tty > /dev/tty
cat $tmp