i cannot figure it out. I need to have output like below, print 5 values comma separated and new line.awk 'ORS=NR%5?",":"\n"'
val1;val2;val3;val4;val5 val1;val2;val3;val4;val5 val1;val2;val3;val4;val5 etc...
In reply to Concatenate every 5 lines of input with a comma. by jsh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |