* doc/autoconf.texi (Limitations of Usual Tools) <grep>: Document
the bug.
Signed-off-by: Eric Blake <eblake@redhat.com>
+2010-05-12 Eric Blake <eblake@redhat.com>
+
+ Document the grep workaround.
+ * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Document
+ the bug.
+
2010-05-12 Mark Hessling <mark@rexx.org> (tiny change)
Work around QNX4 grep bug.
doesn't exist) of @code{grep} to @file{/dev/null}. Check the exit
status of @code{grep} to determine whether it found a match.
+The QNX4 implementation fails to count lines with @code{grep -c '$'},
+but works with @code{grep -c '^'}. Another alternative for counting
+lines is to use @code{wc -l}.
+
Some traditional @command{grep} implementations do not work on long
input lines. On AIX the default @code{grep} silently truncates long
lines on the input before matching.