Thursday, 12 September 2013

Auto-complete AWK variable

Auto-complete AWK variable

I want to auto-complete the name of a variable (array), in this way:
array$1[something]++
I'm trying to obtain this:
array1[something]++
or
array53[something]++
In C, I remember I couldn't do that.. but in AWK I don't know, because if
I do:
array'$1'[something]++
it auto-completes the name:
arraySCRIPTPARAMETER[something]++
Any ideas? Am I wrong?? Thanks people!!!!

No comments:

Post a Comment