lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV lynx -dump variations?


From: Klaus Weide
Subject: Re: LYNX-DEV lynx -dump variations?
Date: Mon, 27 Oct 1997 11:59:57 -0600 (CST)

On Mon, 27 Oct 1997, xin wu wrote:

> Hi,
> lynx -dump <file> can convert the <file> from HTML to ASCII format.
> But when I use this program in a CGI script I would like that the 
> "lynx -dump" can read the <file> directly from a form variable 
> instead of from a disk file  by which to reduce the CGI script processing
> time. Now i have to save the form variable to a temp file and then
> convert it to a text format. 
> Your help is greatly appreciated.
> 
> xin wu
> Univ. of Illinois at UC

On some operating systems you can refer to standard input as if it were a
(special) file.  For example, on a Unix system try:

   echo '<TITLE>stdin</TITLE>&iexcl;Lynx <EM>can</EM><BR>do this!' \
    | lynx -force_html -dump -underscore /dev/fd/0


    Klaus

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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