Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BEGIN{
- line="";
- FS=",";
- }
- {
- for (i=2;i<=NF;i+=2)
- if(line=="")
- line=$i;
- else
- line=line","$i;
- print line;
- line=""
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement