/ Published in: Other
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
awk -F"|" '$1!=p { if(p"")print out; sep=""; p = $1; out= p"#"} {out = out sep $2; sep = "%"} END{if(p"")print out}'