Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • is gone when you use the colour name in the class name.

    <font color=green>foo</font>
    <span class=green>foo</font>

    Still need to go through the source to change the colour now.
  • I like this. I assume you autogenerated it; I fiddled with it a bit, and came up with:
    perl -wlne 'next if /^#/; @bits = split; printf ".$bits[3] { color #%0.2x%0.2x%0.2x }\n", @bits[0..2] if @bits == 4' /usr/X11R6/lib/X11/rgb.txt
    This will generate a list much like what you've got.
    --
    (darren)