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

Re: question for seasoned links users?



> On 2022-09-17, David <bouncingcats@gmail.com> wrote:
> >
> > The documentation website for 'links' is at:
> >   http://links.twibright.com/user_en.html
> >
> > and says:
> > "You will find here a complete guide for using the Links web
> > browser"
> >
> > and it contains nothing at all about a '-dump' option.  
> 
> http://links.twibright.com/user_en.html#subsubch-save_as

But if you try it, you'll see that saves the page as HTML, not as a
snapshot of the displayed text.

>  Save as
>  Stores the currently displayed page into a file. A dialog for
> entering the filename will appear after calling this function. The
> page will be saved under this filename. If the file already exists,
> it will be overwritten.
> 
>  Save URL as
>  Works like the previous function, with the difference that you will
> be first asked for the URL of a page to download, and then for a
> filename to store the page into. After both have been entered, the
> page will be downloaded and saved.
> 
> Then, of course, there's the man page:
> 
>  -dump [0|1] (default: 0)
>  Print formatted plain-text versions of given URLs to stdout.
>  -dump-charset (alias for document.dump.codepage)
>  Codepage used when formatting dump output.
>  -dump-color-mode (alias for document.dump.color_mode)
>  Color mode used with -dump.
>  -dump-width (alias for document.dump.width)
>  Width of the dump output.
> 
> https://linux.die.net/man/1/links

And that of course helpfully points out at the top that its describing
the behaviour of elinks rather than link itself.

> Good luck.
> 


Reply to: