NetBSD/bin/ed/test/r2.ed

7 lines
49 B
Bash

#!/bin/sh -
../ed - <<\EOT
r \r2.d
r
w \r2.o
EOT