1.

How To Display Even Number Of Records Into One File And Odd Number Of Records Into Another File?

Answer»

AWK 'NR %2 == 0' test_files.txt

awk 'NR %2 != 0' test_files.txt

awk 'NR %2 == 0' test_files.txt

awk 'NR %2 != 0' test_files.txt



Discussion

No Comment Found