what LOG=` ` reads1997-03-29 15:22:03Era Eriksson asked, | This is pretty contrived and moreover untested, but backticks inside a | LOG pseudo-statement(*) don't eat standard input, do they? They do when I've tried it. Try something like this: LOG="`formail -XDate: -XReply-To: -XMessage-Id:` " | OLDLOG=$LOGFILE | LOGFILE=log.tmp | LOG="`lockfile log.tmp.lock`" | # The previous should in fact not write anything to the log Well, of course not, because lockfile normally doesn't write to stdout.
|
|