[PATCH v2 3/3] * cmd: added support of FOR loop's rare var names (%%1), fixed expansion of outer var loop name inside inner loop