We have csv file with more than 50000 lines This is only example
Dcccrev,wefrwvfr,rfregt,wr4f,rfvrv,ecxwec,ecfrv,rfrf Grge,gtgr,frfrv,gthtgv,gerg5tgvrt,rvrfvtg,tgt,frfrf,rfrf Drfrfr,t,tgtg,rf,rgr,grtg,tgt,gtgtg,rg . . .
My task is: in case numbers of separator “,” In each line isn’t equal to 7 then need to print the line number
Is it possible to create one awk line or one perl liner for this task?
Without to use echo or cat that spend time