NetBSD/bin/ed/test/t.ed

9 lines
59 B
Bash

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