Searching a file for multiple strings (PS)

Shawn Milochik Shawn at Milochik.com
Sun Feb 1 03:34:30 EST 2009


On Sun, Feb 1, 2009 at 1:14 AM, John Machin <sjmachin at lexicon.net> wrote:
> On Feb 1, 3:39 pm, Shawn Milochik <Sh... at Milochik.com> wrote:
>
>> Not to discourage the use of Python, but it seems that fgrep with the
>> -f flag already does exactly what you want. If you're on Windows, you
>> can get the Windows version of fgrep here: http://unxutils.sourceforge.net/
>
> That URL is antique and a dead end. When you find the actual
> sourceforge project page (http://sourceforge.net/projects/unxutils/)
> and browse the forums and the CVS repository, you'll see tumbleweed
> blowing down Main Street and not much else (besides a few whinges
> about that dead end URL, and many unanswered issues).
>
> Alternative: http://gnuwin32.sourceforge.net/
> --
> http://mail.python.org/mailman/listinfo/python-list
>

Thanks very much for the update. I had been using the older versions
(on the rare occasions I've had to use Windows). I didn't know there
was a currently-maintained version.



More information about the Python-list mailing list