$ cat input.txt ああああいいいいうううう$ awk '{printf $0; printf (NR % 4 ==0) ? "\n" : " "}' input.txt あ あ あ あい い い いう う う う
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.