|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
I was using grep for quite some time. I came across the option of " grep -q" on the AIX box to supress the Output of the grep. I don't see the option available on the grep binary with another Solaris box. I can use "grep -s" option to supress only the Errored output. It's still showing the grep output. I would like know the equivalent option on the Solaris OS for the "grep -q" of AIX. I can provide the grep utility versions tomorrow morning only. Thanks in advance for your time and energy, Da.. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
"Dattu" <datteswararao@gmail.com> a écrit dans le message de
news:1165329028.115194.318020@79g2000cws.googlegro ups.com... > Hi, > I was using grep for quite some time. I came across the option of > " grep -q" on the AIX box to supress the Output of the grep. > I don't see the option available on the grep binary with another > Solaris box. I can use "grep -s" option to supress only the Errored > output. It's still showing the grep output. > > I would like know the equivalent option on the Solaris OS for the > "grep -q" of AIX. I can provide the grep utility versions tomorrow > morning only. > > Thanks in advance for your time and energy, > Da.. Hello, on solaris you can use the XPG4 version of grep for use the -q flag: /usr/xpg4/bin/grep Regards, Mobidyc |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On 5 Dec 2006 06:30:28 -0800, Dattu
<datteswararao@gmail.com> wrote: > Hi, > I was using grep for quite some time. I came across the option of > " grep -q" on the AIX box to supress the Output of the grep. > I don't see the option available on the grep binary with another > Solaris box. I can use "grep -s" option to supress only the Errored > output. It's still showing the grep output. > > I would like know the equivalent option on the Solaris OS for the > "grep -q" of AIX. I can provide the grep utility versions tomorrow > morning only. > grep >/dev/null -- I have a hard time being attracted to anyone who can beat me up. -- John McGrath, Atlanta sportswriter, on women weightlifters. |
|
![]() |
| Outils de la discussion | |
|
|