1# There used to be a bug in agrep where the record delimiter was
2# considered to be part of the record, causing '$' at the end of the
3# regexp to work in an unexpected way.
4^foobar$
5foobar$
6^foobar
7foobar
8-d X ^xyzzy$
9-d X -M ^xyzzy$
10