[evolution-patches] Re: About the grep -q issue on Solaris.
- From: Harish Krishnaswamy <kharish novell com>
 
- To: Meng-Jie Yu Sun COM
 
- Cc: patches <evolution-patches gnome org>
 
- Subject: [evolution-patches] Re: About the grep -q issue on Solaris.
 
- Date: Wed, 07 Sep 2005 14:10:32 +0530
 
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]