Tom-- >> >>#!perl -nl >>print unless $s{$_}++ > > This is verry pretty. > I will have to figure out what it does exactly. Why, thank you! There's a description somewhere in the MacPerl archives. http://bumppo.net/lists/macperl/2000/03/msg00236.html Credit goes mostly to Terje Bless and Ronald Kimball, Although a much less terse version was submitted to the BBEdit-Talk list by Jeremy Mates. I somehow (don't ask me how) managed to get the final word, so the version I posted is mine, I suppose. However, I'm still not taking credit. Most of the discussion took place on the BBEdit-Talk list. It's been almost six months. --B -- Webmaster/MacPerl Guru ***************************************************** Mycoinfo, the World's First Mycology e-Journal http://www.mycoinfo.com/ ***************************************************** # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org