[CentOS] bash - safely pass untrusted strings?

Alfred von Campe alfred at von-campe.com
Tue Feb 26 19:40:48 UTC 2008


Are you trying to pass all parameters from one script to another or  
just the first one ($1).  If it's the former, have you tried using  
"$@"?  For the latter, "$1" might work.

Alfred




More information about the CentOS mailing list