what option to get "lynx" to output -source to STDOUT?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
what option to get "lynx" to output -source to STDOUT?
It's writing the URL contents to a file. Not what I want, since I don't have space for it. How do I get "lynx -source" to write directly to STDOUT? It used to do this a few years ago. Something changed.
An alternative is any other program that will SILENTLY (no other output during transfer) write the HTTP contents (not headers) directly to STDOUT. I tried curl, links, and wget, and these all fail, producing garbage on the screen even thoough STDOUT is piped to another process in the command line.
Redirecting STDERR is NOT an option for silence. I do want error messages if there is a failure.
I have Lynx Version 2.8.8dev.3 (25 Apr 2010) and it writes to a file when the only option is -source. Now it is doing this with a gzipped tarball, so maybe it thinks that is unsafe to output. But this is a pipeline to gunzip and tar, so that should not matter.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.