bug#22181: endless loop in grep 2.22

2016-01-09 Thread Jim Meyering
On Fri, Jan 8, 2016 at 6:53 PM, Paul Eggert wrote: > Jim Meyering wrote: >> >> It was trivial: printf does not necessarily support \xHH hexadecimal >> escapes. > > Thanks for catching that. I looked and found one other problem of that kind. > I tried running the tests on Solaris and AIX and found

bug#22181: endless loop in grep 2.22

2016-01-09 Thread Paul Eggert
Jim Meyering wrote: Hah! TIL head -N and yes are not portable. Thank you. I've been spoiled/corrupted by writing coreutils tests for so long. I would prefer to continue to use "yes" via the following, at least in the first test. That way is clearer. In the second, I could go either way, since yo

bug#22181: endless loop in grep 2.22

2016-01-09 Thread Jim Meyering
On Sat, Jan 9, 2016 at 10:20 AM, Paul Eggert wrote: > Jim Meyering wrote: >> >> Hah! TIL head -N and yes are not portable. Thank you. >> I've been spoiled/corrupted by writing coreutils tests for so long. >> >> I would prefer to continue to use "yes" via the following, at least >> in the first tes

bug#22181: endless loop in grep 2.22

2016-01-09 Thread Jim Meyering
On Sat, Jan 9, 2016 at 11:27 AM, Jim Meyering wrote: > On Sat, Jan 9, 2016 at 10:20 AM, Paul Eggert wrote: >> Jim Meyering wrote: >>> >>> Hah! TIL head -N and yes are not portable. Thank you. >>> I've been spoiled/corrupted by writing coreutils tests for so long. >>> >>> I would prefer to continu