Guest_imported
New member
- Jan 1, 1970
- 0
Hi All,
I have a small problem in passing a string parameter.
Program: xx
Display()
{
echo $1
echo $2
echo $3
}
xx "sample param" 2 3
Result :
I want the program to display the whole string "sample param" for echo $1.
Now this is taken as 2 parameters
Thanks in advance
Regards
Jags
I have a small problem in passing a string parameter.
Program: xx
Display()
{
echo $1
echo $2
echo $3
}
xx "sample param" 2 3
Result :
I want the program to display the whole string "sample param" for echo $1.
Now this is taken as 2 parameters
Thanks in advance
Regards
Jags