Re: stop processing with 'if grep exit' ?

[email protected]
Newsgroups gmane.org.user-groups.slug.general
Message-ID <[email protected]>
On Wed, March 19, 2014 5:43 pm, [email protected] wrote:

> Yes, but I'd use &&

> grep "test2" file2 && exit 0

Peter,

thanks again. can I include somewhere here 'echo 'helo' >> "$LOG"'



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.