so I made a few fixes like spelling errors and undeclared variables but it still gives me a few errors.
GNU nano 2.2.6 File: gridgame.sh Modified
#!/bin/bash
let postitionTWO=0
let positionTHREE=1
let position = 0
while [$position>82]
do
let $positionTWO = $positionTWO + 1
while [$positionTHREE>10]
do
if [$positionTHREE==9]
then
thepoint[$positonTWO + $positionTHREE]
echo ${thepoint[$positonTWO + $positionTHREE]}
let $position = $positionTWO * $positionTHREE
break
fi
thepoint[$positionTWO * $positionTHREE]
echo -n ${thepoint[$positonTWO + $itionTHREE]}
let $positionTHREE = $positionTHREE + 1
done
done
Sorry, you need to Log In to post a reply to this thread.