Search Results

Search: Posts Made By: haggismn
9,321
Posted By verdepollo
Try this, it also deals with the newline: ...
Try this, it also deals with the newline:

awk '{gsub(/,/,"\n");}; {for(i=2;i<=NF-1;i+=3) {print ($(i+1),($(i+2)))}}' infile
Showing results 1 to 1 of 1

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