Trying to write a really basic script to do some integer arithmetic and am having a problem with syntax:
let count=1do ... let count++ if [[ $((count%10))==0 ]] # getting a syntax error here then echo "blah"; fidone
8/2/2010 7:50:54 PM
nvm figured it out
8/2/2010 8:26:36 PM
what was the problem?[Edited on August 2, 2010 at 9:53 PM. Reason : .]
8/2/2010 9:47:46 PM
pretty stupid, i typed it right in here but in my code i didn't have a 'then' in the if block
8/2/2010 10:05:41 PM
A lot of times when I'm having a problem and I get to the point I need to make a thread, Im so deliberate with the steps I've taken that I actually solve the problem in the process of creating the thread. lol
8/2/2010 10:14:43 PM