NetBSD/bin/ed/test/r1.ed

9 lines
91 B
Plaintext
Raw Normal View History

#!/bin/sh -
../ed - <<\EOT
r \r1.d
1;r !echo hello world
1
r !echo hello world
w \r1.o
EOT