diffutils-devel
[Top][All Lists]
Advanced

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

Re: diffutils-3.8.43-2d50 on Solaris 11.4


From: Jim Meyering
Subject: Re: diffutils-3.8.43-2d50 on Solaris 11.4
Date: Thu, 5 Jan 2023 22:15:54 -0800

On Mon, Jan 2, 2023 at 7:01 AM Bruno Haible <bruno@clisp.org> wrote:
> On Solaris 11.4, one of the test fails:
>
> FAIL: colors
>
> Find attached the logs.
>
> The log shows this:
>
> ++ diff -u a b
> ++ grep -F .
> grep: illegal option -- F
> Usage: grep [-c|-l|-q] -bhinsvw pattern file . . .
> + nanosecond_zeros=
>
> The value of nanosecond_zeros is wrong, because the command 'grep -F .' 
> failed.
>
> On Solaris 11.4, there are 4 grep programs:
>   - /usr/bin/grep and /usr/ccs/bin/grep do NOT support the -F option.
>   - /usr/xpg4/bin/grep and /usr/gnu/bin/grep do support the -F option.
> The default $PATH contains only /usr/bin/grep.
>
> The simplest fix is to replace, in tests/colors, the command
>   grep -F .
> with
>   grep '\.'
> or
>   grep '[.]'
> I have tested both.

Nice. Thanks a lot. I wrote a ChangeLog entry and will push this in your name.

Attachment: diffutils-vs-grep-test.diff
Description: Binary data


reply via email to

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