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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -