Hallo everyone
I might just be being dumb, but I am using the BASH shell and cannot get the following script to work:
x=0
while [ $x -lt 10 ]
do
echo $x
x=�echo "$x + 1" | bc�
done
Can anybody help me out. I am just get a repeating output saying:
bc: command not found
0 + 1: command not found
Any suggestions would be helpful