Sponsored Content
Full Discussion: help
Operating Systems Linux help Post 93067 by mbb on Thursday 15th of December 2005 09:22:43 AM
Old 12-15-2005
You could always put quotes around your arguments e.g.

sample.sh "123" "1231&" "12"

To be absolutely sure 'escape' special characters:

sample.sh "123" 1231\&" "12"

If you are trying to pass asterisk through:

sample.sh "*"

or if you really mean to pass the result of *:

sample.sh ${*}


Hope this helps!
 
All times are GMT -4. The time now is 01:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy