xref: /freebsd/bin/ed/test/g2.t (revision 580d00f42fdd94ce43583cc45fe3f1d9fdff47d4)
1g/[2-4]/-1,+1c\
2hello world
3