NetBSD/bin/ed/test/s2.ed

10 lines
78 B
Plaintext
Raw Normal View History

#!/bin/sh -
../ed - <<\EOT
r \s2.d
,s/./(&)/3
s/$/00
2s//%/g
s/^l
w \s2.o
EOT