vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
pipe-out.cmd
(100B)
1 1 > cat > pipe-out.tmp
2 0 < cat pipe-out.tmp
3 0 r pipe-out.tmp
4 ! rm pipe-out.tmp
5 0 < cat pipe-out.tmp