filter with pipe, bogus message
Allan Wind
allanwind at lifeintegrity.com
Sat Feb 15 00:03:29 CET 2003
On 2003-02-14 15:52:10, Francis J. Lacoste wrote:
> Removing the parentheses around your filter should work (not need
> to start a subshell there).
>
> I.E. "zcat | sed -e 's/[^ ]* \(.*\)/\1/'"
FWIW, I could not get that working either. Believe lr_cron does:
lr_run $filter < $log | \
lr_run lr_log2mail -s "$subject" $superservice $service "$to"
$flags
that expands to:
lr_run zcat | sed -e 's/[^ ]* \(.*\)/\1/' < $log | ...
which is quite different from:
lr_run (zcat | sed -e 's/[^ ]* \(.*\)/\1/') < $log | ...
> I would also suggest upgrading the Lire 1.2.1.
Spoiled by Debian, so I will wait for it to be packaged up :-)
/Allan
--
Allan Wind
P.O. Box 2022
Woburn, MA 01888-0022
USA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/questions/attachments/20030214/337a7d00/attachment.bin
More information about the Questions
mailing list