NetBSD/bin/ed/test/j.ed

8 lines
55 B
Bash

#!/bin/sh -
../ed - <<\EOT
r \j.d
1,1j
2,3j
w \j.o
EOT