This was addressed in Debian #254603
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lynx in Ubuntu.
https://bugs.launchpad.net/bugs/1112568
Title:
lynx -dump fails if filename is not *.html
Status in “lynx” package in Ubuntu:
New
Bug description:
lynx -dump url is supposed to strip out the HTML markup and format the text,
but it is not working; it is just echoing the output.
The input is simple HTML:
$ echo >| curl.out <<EOF
<html>
<body><p>Some text</p></body>
</html>
EOF
but when I do
$ lynx -d curl.out
lynx just echos the HTML markup.
It works if I do:
$ mv curl.out test.html
$ lynx -d test.html
I.e. it appears the command requires the file name to end in .html
I can use
$ lynx -dump -stdin < curl.out
as a workaround but the default should work.
(This is in the context of another script which fetches a web resource
via curl, then looks at the file content and does different thing based
on the contents; it is not always html, so that is why my file name is
curl.out)
I'm on Ubuntu using:
$ lynx --version
Lynx Version 2.8.8dev.9 (12 Jun 2011)
libwww-FM 2.14, SSL-MM 1.4.1, GNUTLS 2.10.5, ncurses 5.9.20110404(wide)
Built on linux-gnu Nov 19 2012 15:52:46
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lynx/+bug/1112568/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp