Im a newbie. Help please!
For example my mini script test.sh
#!/bin/bash
echo all parameters: $*
and now i run some test:
$ ./test.sh aa bb cc
all parameters: aa bb cc
ok!
$ ./test.sh aa bb $cc
all parameters: aa bb
where is here $cc ?
$ ./test.sh aa $bb cc
all parameters: aa cc
where is $bb ?
My question: How can i become 'aa $bb cc'? But without using of \ or ' or " like this:
./test.sh aa \$bb cc
or
./test.sh 'aa $bb cc'
Many thanks!