So I have a text file that's 20,000 columns long and 2 rows.  Data looks something like this:   FP1 amp     FP1 lat     FP2 amp       FP2 lat    FP3 amp       FP3 lat      AF1 amp         AF1 lat   4.1         231         2.2           232        1.3            233         4.4             234Every 120 columns or so, the header values repeat themselves with different values in the 2nd row.  How can I separate these columns every 120 columns, start a new line and continue doing this until the end of the file? 
How to start a new line every nth column?
shell script;awk