Search Results

Search: Posts Made By: awais290
2,467
Posted By Scrutinizer
Hi, try a slight modification: awk -F,...
Hi, try a slight modification:
awk -F, 'function pr(){sf=(b?"Bad":"Good") "file.txt";print f>sf} FNR==1{if(NR>1)pr();n=NF;f=FILENAME;b=0} !b &&n!=NF{b=1} END{pr()}' *.csv

---------- Post updated...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 09:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy