Quote:
Originally Posted by ghostdog74
when you use the variable $1, use double quotes.
|
yeah But it is not working in following case..can u pls suggest on this
Here is the input parameter it comes for me.
$ ./sample.ksh '/root/krishna mohan/file*.txt'
sample.ksh
********
input="$1"
ls -m $input
ls -m "$input"
**********
above command are not able to interpret and list the exact files..
Thanks
Krishna