Re: stop processing with 'if grep exit' ?
| Newsgroups | gmane.org.user-groups.slug.general |
|---|---|
| Message-ID | <844n2ulmcm.wl%[email protected]> |
>>>>> "lists" == lists <[email protected]> writes: lists> I have a script that runs like this [1]: can I insert another lists> grep test 'stuff3' and, stop processing with an 'exit', between lists> stuff and stuff2? Yes, but I'd use && grep "test2" file2 && exit 0 Peter C -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html