How about just: grep -f /tmp/sides.txt bigfile.txt
Where sides.txt is a list of all items you'd like to search for, one per line. On Sun, Sep 30, 2012 at 12:53 PM, Robert Munro <[email protected]>wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sat, 29 Sep 2012 19:36:36 -0700 Eric Wilhelm wrote: > > # from website reader on Saturday 29 September 2012: > >>> I have a list of about 2 to 5 thousand items ... > <snip> > > If you don't know Perl, I think this is a really good time to read > > the `man perlintro` document. > > I suspect that Randall Schwartz has just encountered the downside of > posting at PLUG using an alias that hides his identity. > > R > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.12 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAlBoo0sACgkQ+qYMIUkNJCyr5ACgseacePHY10AgDdepZ4RKq9bm > EaMAniw4WHHV69HNeSCrHzdbgnzHeoku > =vPa3 > -----END PGP SIGNATURE----- > _______________________________________________ > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug > _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
