On Thursday 01 December 2005 13:51, Klaus Darilion wrote:
> Klaus Darilion wrote:
> > Daniel-Constantin Mierla wrote:
> >> User: miconda   - caution: if the var your passing out has a bash
> >> special character in it, the var needs to be placed inside quotes,
> >> for ex: exec_msg("print-contact.sh '$ct'");
> >
> > IMO this warning should be included in the README
>
> or even better: is it possible to put all pseudo variables into ''
> automatically?

making the program 'smarter' than the user is always a bad idea.
the application has no idea when that variable really needs quoting and 
just blindly applies a rule that may lead to undesired results.
the important factor to consider when implementing such features is if the 
user will be able to do it the other way (without quotes in this case), 
or will he be forced to the program's way and have no way around it.

>
> klaus
>
> _______________________________________________
> Devel mailing list
> [email protected]
> http://openser.org/cgi-bin/mailman/listinfo/devel

-- 
Dan

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to