Hi Folks,
I need help to pass a double quoted string as parameter to my korn shell script.
The shell script is as follows
=========================================
#!/bin/ksh
# File Name: test.ksh
received=$0
echo $received
========================================
Execution:
logmsg="This is a test"
test.ksh $logmsg
Results:
This
Is there any way I can store the entire string in a variable?
Thanks in advance
rogers
I need help to pass a double quoted string as parameter to my korn shell script.
The shell script is as follows
=========================================
#!/bin/ksh
# File Name: test.ksh
received=$0
echo $received
========================================
Execution:
logmsg="This is a test"
test.ksh $logmsg
Results:
This
Is there any way I can store the entire string in a variable?
Thanks in advance
rogers