joukewitteveen/netcfg — comment on commit 10a01a13d3e849e576dadd5ca39be67c632f9f3a
File: scripts/wifi-menu line 54
By falconindy:

'let' is ancient. Please allow it to die. (( ++i )) is more accepted. Additionally, in the two lines above this, you're in an arithmetic context -- there's no need to force expansion. just use PROFILES[i] and ESSIDS[i].