Login or Register to Ask a Question and Join Our Community

Search Results

Search: Posts Made By: Tytalus
12,090
Posted By Scott
Seems like a simpler job for paste...
Seems like a simpler job for paste (https://www.unix.com/man-page/OpenSolaris/1/paste/) than awk:


$ paste -d"\0" - - - < file
1,2,3,
4,5,6,
An awk one anyway:

$ awk '{printf} !NR%3{print...
Showing results 1 to 1 of 1

 

Featured Tech Videos