I have 4 columns separated by a character ;.
Some rows in the 3rd or 4th columns are huge with over 10,000 characters.
How to delete rows, no matter which columns, where the length of one particular column exceeds 10000 characters?
I tried with this
awk '{i += (length() + 1); if (i <= 10000) print $ALL}'
But it takes the whole file, not just the specific column, and I need the length of the column, regardless of whether it is 3rd or 4th or, possibly, both.
TIA
source
share