David Bustos wrote:
> What happens if you don't use eval?

Nico and I spent some time looking at non-eval strategies, and weren't 
able to come up with anything that had all the right semantics: 
protecting special characters (wild cards, white space, newlines, et 
cetera) in values, while allowing multiple values to be returned and 
processed unambiguously.

The big problem was that (simplifying)
        echo `some_command`
processes shell wild cards in the output from some_command, with no way 
to quote them, and
        echo "`some_command`"
does not allow unambiguous representation of multiple values, 
potentially with embedded white space.  I think there were other issues too.

Reply via email to