linux script counter issue -


the script works fine should, shows folders contained on given path, trying add counter know how many there won't work i've tryed many things, googled etc can't right what's problem? sorry spanish

the code

http://i.imgur.com/0jrglzr.jpg

it prints this

http://i.imgur.com/g4nznz8.jpg

you must use "let" in front of variable reassignment in loop.

let $contador = $contador + 1 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -