awk or sed extract each number of column alone
Following awk could help you in same. awk ‘{print > NF”column.txt”}’ Input_file Output it will create 3 files named 5column.txt, 4column.txt and 3column.txt.
Following awk could help you in same. awk ‘{print > NF”column.txt”}’ Input_file Output it will create 3 files named 5column.txt, 4column.txt and 3column.txt.