I have a bunch of different files. All files contain a column titled ID, but not necessarily in the same location in all of the files. I have a function I want to apply to
Simple:
$ awk -v column=$COLNUMBER '{ $column = FUNCTION($column); print }' $FILE