[ale] FGrep matches and non matches to two seperate files

Greg Freemyer greg.freemyer at gmail.com
Thu Dec 22 14:15:34 EST 2005


Are you just asking about "fgrep -v" ?

On 12/22/05, Jonathan Chum <jchum at aismedia.com> 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.
>
>
>
> Regards,
>  Jonathan Chum
>  Senior Developer
>
>
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  AIS Media, Inc. - "Passion. Innovation. Expertise"
>  7000 Central Parkway, Suite 1700
>  Atlanta, GA 30328
>  Tel: 770.350.7998 / Fax: 770.350.9409
>  http://www.aismedia.com / jchum at aismedia.com
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
>


--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century



More information about the Ale mailing list