NetBSD/bin/ed/test/v.ed

12 lines
106 B
Plaintext
Raw Normal View History

#!/bin/sh -
../ed - <<\EOT
r \v.d
v/[ ]/m0
v/[ ]/s/$/\
hello world
v/hello /s/lo/p!/\
a\
order
w \v.o
EOT