I am trying to use gawk in windows to parse a directory which contains CSV files for the blank rows in the second column in each file. I want to take the whole row where the the 2nd column is blank from ALL the source files and output to a csv. .. what I have so far is below.
I am sure this has to do with properly escaping the single quotes, I've tried using ^
and \
to no avail. Thanks for any tips.
awk -F, \'!length$2\' *.csv > output.csv