diffutils-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Diffutils-devel] diffutils-3.6.17-d5ba on AIX 7


From: Jim Meyering
Subject: Re: [Diffutils-devel] diffutils-3.6.17-d5ba on AIX 7
Date: Thu, 27 Dec 2018 23:37:51 -0800

On Thu, Dec 27, 2018 at 10:39 PM Bruno Haible <address@hidden> wrote:
> On AIX 7.1/PowerPC:
>
> FAIL: colors
> ========================= colors.log ====================
> printf: bad conversion
> printf: bad conversion
> FAIL colors (exit status: 1)
> =========================================================
>
> Indeed, /bin/sh does not have 'printf' built-in, and /usr/bin/printf
> produces:
> $ /usr/bin/printf '%*s-a' 10
> printf: 3016-004 Cannot form a valid conversion.
> s-a$
>
> But this works:
> $ /usr/bin/printf '%10s-a'
>           -a$
>
> The fix is thus to splice the count into the printf format string, like you 
> did
> in the 'grep' tests. Patch is attached; it fixes the test failure.

Thank you. I've just pushed that.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]