We will generate a csv file with below values.yp1234,577,1,3yp5678,570,3,5yp9012,132,8,9I need to extract data and create files based on second column. If it's value greater than 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 greater than 577.Please assist using sed or awk command.
Creating a file from another file on the basis of a numeric value in each line
sed;awk