lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Where does -dump output go?


From: Travis Siegel
Subject: Re: [Lynx-dev] Where does -dump output go?
Date: Thu, 11 Feb 2021 18:25:05 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

Or, if you want it to pause after each screen, without any additional parameters, try

more instead of cat, and to those purists that claim less is better, let me remind those that less and more are the same executable on most linux systems, and only act differently because the program checks to see which one was actually called.

(thus the statement that less is more))

<shrug>

Cat will work for text that is shorter than a full screen, otherwise you loose content, more is for everything else.

Also, head can be used to see just the first few lines of a file, to verify the content is what you expected, while tail gives you access to the last few lines of the content, each is good depending on the circumstances.

(sorry for the slight sidetrack, just trying to make sure all options are known. :))

On 2/11/2021 6:05 PM, Jude DaShiell wrote:
Normally stdout on Linux.  To get it to a file, try cat | lynx -dump
outfile


On Thu, 11 Feb 2021, Donn Terry wrote:

I'm trying to use LynxPortable (I hope this list works for that) to dump
rendered html.  This is on Windows 10.

LynxPortable appears to be working correctly, but does one strange thing.
I'm doing this both from a cmd window and a cygwin window, with the same
result.

Instead of directing the output to local stdout it directs it to a new
window that appears for a fraction of a second (spewing some text) and then
disappears. Using shell redirection doesn't help.
lynxPortable -help does the same thing.  (The splash screen also comes up,
and stays up slightly longer than, the text window.)

I didn't see any command line options to redirect to regular stdout or a
file.

Ideas?

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

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]