[thelist] unwrapping long links
David Dorward
evolt at david.us-lot.org
Tue Apr 1 13:14:42 CST 2003
On Tue, Apr 01, 2003 at 01:53:13 -0400, Sarah wrote:
> >you know how to unwrap these, right?
> >
> >javascript:for(i=0;i<document.getElementsByTagName('TABLE').length;i++)void(
> >document.getElementsByTagName('TABLE')[i].border=(document.getElementsByTagN
> >ame('TABLE')[i].border=='0')?'1':'0');
>
> Just curious - is there a trick to unwrapping these?
cat | perl -e "while (<STDIN>) {chomp;\$_ =~ s#\ ##g; print;}"
seems to do the trick, buts its just a matter of stripping out the new
lines.
--
David Dorward http://david.us-lot.org/
"You cannot rewrite history, not one line."
- The Doctor (Dr. Who: The Aztecs)
More information about the thelist
mailing list