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

# ep -- edit pipe

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