NetBSD/bin/ed/test/t.ed

9 lines
59 B
Plaintext
Raw Normal View History

#!/bin/sh -
../ed - <<\EOT
r \t.d
1t1
2,3t2
,t$
w \t.o
EOT