Re: Use of if and test in .qmail files
[email protected] (Paul Jarc) Wed, 31 Oct 2007 00:30:34 -0400
| Newsgroups | gmane.mail.ezmlm |
|---|---|
| Organization | What did you have in mind? A short, blunt, human pyramid? |
| Message-ID | <[email protected]> |
Bruce Guenter <[email protected]> wrote: > On Tue, Oct 30, 2007 at 01:39:41PM -0400, Paul Jarc wrote: >> This would work: >> | test -e DIR/threaded && exec ezmlm-archive DIR; exit 0 > > Only if you don't care about the exit code from ezmlm-archive. No, that's what the "exec" is there for. >> But "if" is more readable anyway. > > Much, yes. If it is considered adequately portable, I'll just use that. Yep, that's what I'd do. paul