[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev lynx -stdin ?
From: |
David Combs |
Subject: |
Re: lynx-dev lynx -stdin ? |
Date: |
Sat, 29 Jan 2000 19:23:51 -0800 |
On Thu, Jan 27, 2000 at 08:50:05PM -0500, T.E.Dickey wrote:
> >
> > On Thu, Jan 27, 2000 at 05:10:16AM -0500, T.E.Dickey wrote:
> > > >
> > > > Lynx Developer(s),
> > > >
> > > > Have you considered adding a -stdin option, to allow accepting
> > > > HTML
> > > > directly from a pipe (no URL needed) ? e.g. such that this would work:
> > > >
> > > >
> > > > > dynamically_generate_html_program | lynx -stdin
> > > >
> > > > maybe intially only in batch mode, e.g. to de-HTML-ify text-ish
> > > > documents
> > >
> > > The topic has come up occasionally (not as an explicit option, but asking
> > > why lynx doesn't read from a pipe - which is harder, but doable on some
> > > systems by making it read from specific entries under /dev).
> > >
> > > -- an option would be doable...
> >
> > If such an option IS ever done, why not just a simple hyphen,
> > just like lots of OTHER tools do:
> >
> > cat foo.html | lynx -
>
> lynx already interprets "-" to read options and arguments from standard input.
> so either we drop that or add a new option.
Then maybe cat foo.html | lynx -- -
(the "--" meaning "end of options")
David