NetBSD/bin/ed/test/i.ed

15 lines
99 B
Plaintext
Raw Normal View History

#!/bin/sh -
../ed - <<\EOT
r \i.d
1i
hello world
.
2i
hello world!
.
$i
hello world!!
.
w \i.o
EOT