aboutsummaryrefslogtreecommitdiff
path: root/ep
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2020-11-24 02:33:30 +0100
committerJohn Ankarström <john@ankarstrom.se>2020-11-24 02:33:30 +0100
commit09c8e5f72b34b7c13f278acb52f2dd3e530558d3 (patch)
tree14b8065161759f19e649065e18b48216b2ee6bb3 /ep
downloadxutil-09c8e5f72b34b7c13f278acb52f2dd3e530558d3.tar.gz
Add 'cpy' / 'pst', 'ep' and 'ord' utilities
Diffstat (limited to 'ep')
-rw-r--r--ep9
1 files changed, 9 insertions, 0 deletions
diff --git a/ep b/ep
new file mode 100644
index 0000000..3fb8a0d
--- /dev/null
+++ b/ep
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# ep -- edit pipe
+
+tmp=/tmp/ep.$RANDOM
+cat > $tmp
+${EDITOR:-vi} $tmp < /dev/tty > /dev/tty
+cat $tmp
+rm $tmp