Sample Header Ad - 728x90

Split column into lines using awk

7 votes
6 answers
781 views
I have a file that contains a long column and I want to split it into lines, each one with 5 values. E.g., Input file: 1 2 3 4 5 6 7 8 9 10 Output file: 1 2 3 4 5 6 7 8 9 10
Asked by Djabri Josef (335 rep)
Aug 2, 2024, 11:27 PM
Last activity: Aug 8, 2024, 10:32 PM