A. Costa wrote:
> On the other hand you're right to notice that 'URLgrep' is too
> ad hoc, that got me thinking the flaw of 'URLgrep' is that it's not
> general enough.  A 'URLcat' would be much more general.
> 
>  URLcat() { wget -o /dev/null --output-document=- "$1" | html2text -ascii 
> -nobs ; }

Already available as lynx -dump url (formatting html), or w3m url
(formats html also of course, and can be used in pipelines with no
special switches) or GET url (from libwww-perl, raw html), or dog url
(raw html and can also cat files), or probably half a dozen others I
don't know of.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to