Lets say i have a shell script looking like this:
./dosomething.sh $var1 $var2
./someprogram $1 $2 $whatever
when i pass $var1 and $var2 to dosomething.sh, $var1 will get split up in 2 arguments
calling dosomething.sh like this:
./dosomething.sh "$var1" "$var2"
does not work, either.
Can somebody tell me how to properly pass arguments with a space in between them?