I have a shell script which i am calling from command activity, the script gives desired output when i run from Shell but it behaves weird when i call it from command activity.
I debug the script and figure it out that there is a particualr part in script which bahevs unexpected when i call it from command acitivity..
Code: Select all
name=$1
output=`ls $1`
echo $output
Code: Select all
sh findFiles.sh "aa*1"
aa*1 not found
Now i am not able to understand why this is happening. Any suggestion ???