Search Results

Search: Posts Made By: Tytalus
12,824
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

 
All times are GMT -4. The time now is 10:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy