12

filnding the line in afile which has less number of '|''s

view full story
linux-howto

http://www.unix.com – Hi I have an input file with contents seperated by'|'. Each line in the file has around 192 fields seperated by '|' contents like: [code] V|tre|Amkdr|EER|67868|3488|Re4| <Line 1> X|tre|Amkdr|EER|67868|3488|Re4| <Line 2> M|tre|Amkdr|EER|67868|3488|Re4| <Line 3> [code] I need to findout the the lines in the file which has '|''s less than 192 in the input file. can any one help me in this:wall: (HowTos)