[ale] FGrep matches and non matches to two seperate files
Geoffrey
esoteric at 3times25.net
Thu Dec 22 21:39:56 EST 2005
Jonathan Chum wrote:
> I have a list of PostFix IDs in a file that I'm able to fgrep the initial
> maillog and return all entries matching the IDs in the list. I'd like to
> create two files with it though, one that contains the new maillog that
> matches the IDs listed in the file and another file that contains the old
> maillog without these lines.
>
>
>
> Any idea how I would go about accomplishing this? Thanks.
Sounds like something begging for a perl script. I don't know of any
single tool that will do this in a single pass.
--
Until later, Geoffrey
More information about the Ale
mailing list