If I understand correctly, he wants to sort file A using file B as the
sorting criteria.  I think file B contains the names of the rules in file
A, sorted using some external process.


Satya said:
>
>
> --
> Satya. <URL:http://www.thesatya.com/>
> "shutdown -halt now" - The final word in network security tools.
>
> ---------- Forwarded message ----------
> Date: Mon, 3 Nov 2003 18:02:53 -0500 (EST)
> From: Satya <[EMAIL PROTECTED]>
> To: Spamassassin-Talk <[EMAIL PROTECTED]>
> Subject: Re: [SAtalk] [RD] evil rules holdup. Stupid grep!
>
> On Nov 3, 2003 at 15:51, Chris Thielen wrote:
>
>>I don't think I quite understand the problem.  I'll do my best though: if
>>you use a pattern file input to grep, no sorting is done.  Your output
>
>>Chris Santerre said:
>>> I'm having some difficulties I need help with. I'd like to punch the
>>> grep
>>> command ;)
>
>>> Trouble is it won't simply dump the output, it always alpha sorts!
>
> Why are both of you trying to sort with grep instead of using the sort
> command?
>
>>> while hitfreq
>>>     grep -C1 $onestupidline >> newsortedevilrules.cf
>>>     get next $onestupidline
>>> do
>
> I don't understand what you're trying to do, exactly, but if you
> explain it a little more clearly and if someone else doesn't beat me
> to it, I'll do it.
>
> --
> Satya. <URL:http://www.thesatya.com/>
> Do not underestimate the power of the command line. -- RB West, SDM
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
>
>



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to