Re: stop processing with 'if grep exit' ?
| Newsgroups | gmane.org.user-groups.slug.general |
|---|---|
| Message-ID | <[email protected]> |
> grep "test2" file2 && exit 0 Peter, thanks, I'll try that so, I could use multiple conditions like so: grep "test2" file2 && exit 0 grep "test3" file2 && exit 0 ? thanks -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html