the program just prints all the command line arguments
Getting error in the program
error
./hellow: line 13: 0: command not found
./hellow: line 13: 0: command not found
below is the program
#!/bin/bash
num=$#
echo $num
if [ $# -eq 0 ]
then
echo "No arguments are passed ."
else
echo "total no of arguments are $0 are $#"
fi
echo "####### starting the program"
string=hellow
i=0
while [[ `$num` > `$i` ]]
do
echo "$"$i
string=$string$$string1
(( i+=1 ))
done
echo " #### and the results are #####"
echo string= $string
echo string1 = $string1
no not a problem with the ` i do think the OS is unable to find the " while " program
Any idea whether iam missing some header file like that because i am new to the shell programming i am asking this :wall: