Berkeley CSUA MOTD:Entry 16455
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/12/25 [General] UID:1000 Activity:popular
12/25   

1999/9/2-3 [Computer/SW/Languages/Perl] UID:16455 Activity:high
9/2     I know this is probably about a 4 line perl script, but could
        someone direct me to a program which changes a html doc. into a
        text doc.
        \_ This is close but not there.  html2ps converts html to postscript.
           try to apropos html (or alias apropos man -k if you haven't done
           so).
           \_ what's so hard about typing man -k?  it's a full keystroke less
              than apropos and easier to remember...
              \_ apropos is an english word so it's easier to remember for
                 some people.
                 \_ apropos?  Say that ten times, fast.
                    \_ Yeah, I did. So what?
                        \_ No you didn't.  If you said it fast enough you'd be
                           dead now.  Coded into every lifeform is a trigger
                           which will cause spontaneous combustion.  The
                           trigger happens to be saying apropos ten times, fast.
                           The fact that you're still here to claim you did so
                           only proves you didn't.  Please note that me, the
                           CSUA, the politubro, UCB, and no other person or
                           organisation is responsible for your death should
                           you choose to say apropos ten times at a fast enough
                           rate to cause your burning death.
        \_ lynx -dump
           \_ This is the closest answer to correct.
                \_
#!perl
@x = <>;
`|lynx -dump`;
                   Something like that?  :-)  (my perl is rusty, sorry)
                   \_ that's only 2 lines.  You must make it about 4 lines
                      or else you can never show your face here again without
                      it being bitten off by my dog.
                      \_ Ok add this:
print "Conversion done in";
print "4 lines of bad perl.\n";
                         Will that keep the dogs at bay?