[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev lynx -stdin ?
From: |
T.E.Dickey |
Subject: |
Re: lynx-dev lynx -stdin ? |
Date: |
Thu, 27 Jan 100 20:50:05 -0500 (EST) |
>
> 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.
> David
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey