Narayana Yaddanapudi wrote:
> Why does grep behave the way it does in the extract?
You mean, sometimes the 'grep string' line appears and sometime not?
Never worry. You can't do a thing about it, but
grep [string] |grep -v grep
should be solution to your important shellscript.
Rohit
-----------------------------------------------------------------------
LIH is all for free speech. But it was created for a purpose - to help
people discuss issues about installing and running Linux. If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.