Re: longlin2.test and AIX grep

2006-05-10 Thread Ralf Wildenhues
[ you sent off-list, I presume inadvertently ] Hi Alexandre, * Alexandre Duret-Lutz wrote on Wed, May 10, 2006 at 09:41:58PM CEST: > >>> "RW" == Ralf Wildenhues <[EMAIL PROTECTED]> writes: > RW> So, OK to apply this patch, which allows longlin2.test to pass on > RW> AIX <= 5.1 (5.2 seems to ha

longlin2.test and AIX grep

2006-04-27 Thread Ralf Wildenhues
AIX grep has a 2048 character limit on the input lines. Apparently, it optimizes plain (non-regex) patterns, which enables it to work on longer strings; but with non-plain patterns, it does not truncate the line, but fail hard: $ grep grepme Makefile.am >/dev/null; echo $? 0 $ grep .grepme Makefi