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 a few more porting > issues in the grep tests, and installed the attached. 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 your awk process replaces both yes and head, at the expense of being a bit less concise and less readable. What do you think of this patch?