We will generate a csv file with below valuesyp1234,577,1,3yp5678,577,3,5yp9012,132,8,9I need to extract data and create files based on second column. If it's 577 then the whole line has to be extracted and placed in a separate file.I mean I need a file having lines with second column as 577 alone and another file with second column as 132 aloneI tried using IF but didn't work
Extract data from a file and place in different files based on1 column value
csv