aboutsummaryrefslogtreecommitdiff
path: root/ep
blob: 3fb8a0dccaf6f6b51fd1ce872937dff22215812e (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# ep -- edit pipe

tmp=/tmp/ep.$RANDOM
cat > $tmp
${EDITOR:-vi} $tmp < /dev/tty > /dev/tty
cat $tmp
rm $tmp