[Solved] Increment every 33 line of 6 column by 1 [closed]

[ad_1]

If you want to increment only the (33*n)th rows, you can do this.

awk '!(NR%33){$6+=++p} 1'

line 33 will be incremented by 1, line 66 by 2, etc.

[ad_2]

solved Increment every 33 line of 6 column by 1 [closed]