On Fri, Feb 06, 2004 at 08:42:47AM +0100, Alfredo Braunstein wrote:
> Andre Poenitz wrote:
> 
> >> $ cat redirect.sh
> >> #! /bin/sh
> >> exec $1 > $2
> >> 
> >> 
> >> \converter tiff eps "sh $$s/redirect.sh('tiff2ps $$i' $$o)" ""
> > 
> > That's as insecure as the original solution, isn't it?
> 
> It doesn't seem so...
> 
> for instance a && in $1 or $2 won't be interpreted if I'm not mistaken. But
> as I've said, I'm no expert.

I am neither. But doesn't the 'exec' start a new round of argument
expansion?

Hm... well, maybe I am mixing this up with Tcl. 

Andre'

Reply via email to