lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV Pipe command?


From: Paul Gilmartin
Subject: Re: LYNX-DEV Pipe command?
Date: Sat, 16 Nov 1996 13:27:40 -0700 (MST)

In a recent note, Hiram Lester, Jr. said:

> Date: Sat, 16 Nov 1996 13:06:02 -0600 (CST)
> 
> 
> > One more think.. Is my impression, that lynx lacks pipe command, right?
> > What about implementing it?
> 
> I've also thought this (and keep trying to use '|').  I think there might
> be a security problem on this one though...  I'd better let those who know
> more about the issues involved comment...
> 
I have the following in my lynx.cfg:

PRINTER:Pipe to command:echo; echo -n "Enter command\: ";
    read word; eval "$word" < %s:FALSE

DOWNLOADER:Pipe to command:set %s; ONAME=%s; export ONAME;
    echo; echo -n "Enter command\: "; read word; eval "$word" < "$1":FALSE

... of course, these aren't truly piping; they're reading from the
temporary file.  I presume the "FALSE" takes care of some security
issues.

-- gil
;
; 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]