[evolution-patches] Re: About the grep -q issue on Solaris.



Harish,

Thanks!

Should I commit the patch to the gnome-2-12 branch ?

Yours,
Mengjie

On Tue, 2005-09-06 at 16:27 +0530, Harish Krishnaswamy wrote:
> On Tue, 2005-09-06 at 17:53 +0800, Mengjie Yu wrote:
> > Dear harish,
> > 
> > 
> > While building evolution trunk on Solaris 10, I found that the grep in configure.in script used with the -q option which is not supportted by Solaris grep.
> > 
> > Please see part of the result of grep(1) manual page.
> >        -s, --no-messages
> >               Suppress  error  messages  about  nonexistent  or unreadable files.  Portability note: unlike GNU grep, traditional grep did not conform to
> >               POSIX.2, because traditional grep lacked a -q option and its -s option behaved like GNU grep's -q option.  Shell  scripts  intended  to  be
> >               portable to traditional grep should avoid both -q and -s and should redirect output to /dev/null instead.
> > 
> > 
> Right. Fine to commit.
> 
> Thanks,
> Harish
> 




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