current commit
150907.1 · Add test to check for a match at the end of a file.
Setup:

  $ . $TESTDIR/setup.sh
  $ cp $TESTDIR/print_end.txt .

Print match at the end of a file

  $ ag ergneq1
  print_end.txt:2:ergneq1