>>>>> "Bernie" == Bernie Cosell <bernie@rev.net> writes: Bernie> This is pretty crude with only one redeeming feature [aside from its Bernie> utility!]: the test has to be "not -B" -- "-T" won't do because it Bernie> depends on the [fairly likely?] fact that the numerous and largely Bernie> unparseable command-line options for grep will not collide with the Bernie> names of binary files in the current directory (and at least as a Bernie> practical-perl matter, it works for me). I did this for a UnixReview column a long time back. Go there. http://www.stonehenge.com/merlyn/UnixReview/ -- Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095 Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@teleport.com) Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A> Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me ==== Want to unsubscribe from Fun With Perl? ==== Well, if you insist... Send mail with body "unsubscribe" to ==== fwp-request@technofile.org