Visit The New, Modern Unix Linux Community

Search Results

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

All times are GMT -4. The time now is 07:45 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy