pico
convert
Paste the above script into
the terminal, press
control-x, y, and enter, then make the file executable with the
following line:
chmod +x convert
Drag the file into your
~/Library/PDF Services
directory and rename whatever you like. It should show up in your PDF
workflow menu and, if you're lucky, will create a text file, which TextEdit.appwill
automatically open, of any document that contains text in it, whether
html, word, or PDF.