Re: [SLUG] stop processing with 'if grep exit' ?

2014-03-31 Thread lists
On Wed, March 19, 2014 5:43 pm, pe...@chubb.wattle.id.au 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: h

Re: [SLUG] stop processing with 'if grep exit' ?

2014-03-31 Thread peter
> "lists" == lists writes: lists> On Wed, March 19, 2014 5:43 pm, pe...@chubb.wattle.id.au wrote: >> Yes, but I'd use && >> grep "test2" file2 && exit 0 lists> Peter, lists> thanks again. can I include somewhere here 'echo 'helo' >> lists> "$LOG"' Can't see why not. While testing, you c