I would like to join every group of N lines in the output of another command using bash.
Are there any standard linux commands i can use to achieve this?
Exa
Seems like you're trying to join every two lines with the delimiter \t(tab). If yes then you could try the below paste command,
\t
command | paste -d'\t' - -
If you want space as delimiter then use -d,
-d
command | paste -d' ' - -