Posted By


kaartz on 07/09/12

Tagged


Statistics


Viewed 758 times
Favorited by 0 user(s)

awk+group+rows+and+aggregate+corresponding+row+values+to+column


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. awk -F"|" '$1!=p { if(p"")print out; sep=""; p = $1; out= p"#"} {out = out sep $2; sep = "%"} END{if(p"")print out}'

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.