![]() |
hmm, odd moovees with odd problems. IE Save As... here gets the same disk full error. slurp it commando...
$ curl -O http://home.mindspring.com/~bduart/tobor.mov |
Thanks mT, curl worked great and same for Paul's movie too. I guess I ought to submit yet another bug report on IE.
|
Above examples wont work
The perl, and awk lines given above wont work with multi-line html tags
instead curl <url> | perl -we 'undef $/; $s = <>; $s =~s/<[^<]*>/ /g; print $s' should do the job in one line. |
Re: Above examples wont work
Quote:
Quote:
|
A bit late, but...
Just realized I coud use "w3m" for local files also: $ cat foo.html | w3m -dump -T text/html >foo.txt works fast and well. Cheers... |
UUOC!
UUOC watchdog (me) says:
Save typing, resources, and nag-points by doing it like this instead: w3m -dump -T text/html <foo.html >foo.txt |
osxpez,
I knew I would win somethings: "Useless Use of Cat Award" ...Thanks! :D I will make sure I put the 'cat' away and use it as you suggested. Cheers... |
surfraw
I just found the most excellent use for "links -dump"!!!
I've not been using surfraw all that much since it insisted on fireing up an UI based browser. Not "raw" enough for me. But with these lines in my surfraw.conf: def SURFRAW_graphical no def SURFRAW_text_browser links def SURFRAW_text_browser_args -dump doing a command like this: $ webster marshmallow I get output like this: Code:
Merriam-Webster home IFrame [IMG] |
osxpez,
I tried it and works very well, and it looks stormy in Singapore with: $ wetandwild singapore Code:
EditedCheers... |
Cool! But not very useful for a swede. I don't understand Farenheight! =)
|
| All times are GMT -5. The time now is 05:36 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.