logo       
Bookmark and Share

Re: Question about using lynx as a filter...: msg#00010

web.lynx.devel

Subject: Re: Question about using lynx as a filter...

> verify that I had, indeed, posted the article. I did but, if my
> query ever appeared, I missed it along with any responses... :(

It has appeared now.
>
> I should like to be able to use lynx as a filter to translate HTML
> to plain text. That is to say, I should like to be able to send a
> HTML to lynx's stdin (standard input for non-Unix types) and have
> plain text (no HTML) appear at lynx's stdout.

On linux you can do this:

cat lynx_bookmarks.html | lynx --force-html /dev/fd/5 -dump 5<&0 | less

I'd be surprised if freebsd doesn't have an equivalent of /dev/fd/

> According to the lynx man page it should be possible to convince
> lynx to accept input via it's stdin unless I'm misunderstanding
> what is being said:

You are misunderstanding.

>
> - If the argument is only '-', then Lynx expects to
> receive the arguments from stdin. This is to allow

The arguments, not the actual HTML file.



_______________________________________________
Lynx-dev mailing list
Lynx-dev@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/lynx-dev



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise