-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Jul 10, 2003 at 12:38:10PM +0900, Hal E. Fulton wrote: > Hmm, there's the classic "grep in four lines." Can't recall > exactly how it looks -- I think it used a perlism that I'm > not used to. I just thought of a dead give-away: dcarrera ~ $ cat myfile cat dog horse zebra tiger dcarrera ~ $ grep a myfile cat zebra dcarrera ~ $ ruby -e 'puts ARGF.grep(/a/)' myfile cat zebra Cheers, - -- Daniel Carrera | OpenPGP fingerprint: Graduate TA, Math Dept | 6643 8C8B 3522 66CB D16C D779 2FDD 7DAC 9AF7 7A88 UMD (301) 405-5137 | http://www.math.umd.edu/~dcarrera/pgp.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (SunOS) iD8DBQE/DPkjnxE8DWHf+OcRAj6pAKCpfn6xzOYc7LaZbpXnIqeuivPtGwCdH8EP sMXOlzhmhrBrKJkt+Pa0lQE= =7kSC -----END PGP SIGNATURE-----