You are viewing a single comment's thread. Return to all comments →
a longer solution, similar to the the use of the ternary operator:
awk '{if (NR%2) {ORS=";"} else {ORS="\n"}} {print}'
Seems like cookies are disabled on this browser, please enable them to open this website
'Awk' - 4
You are viewing a single comment's thread. Return to all comments →
a longer solution, similar to the the use of the ternary operator:
awk '{if (NR%2) {ORS=";"} else {ORS="\n"}} {print}'