NetBSD/bin/ed/test/m.ed

13 lines
83 B
Bash

#!/bin/sh -
../ed - <<\EOT
r \m.d
1,2m$
1,2m$
1,2m$
$m0
$m0
2,3m1
2,3m3
w \m.o
EOT