Posted By

kaartz on 07/09/12


Tagged

textmate awk


Versions (?)

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


 / Published in: Other
 

  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  

You need to login to post a comment.