blob: 181c4bf709b77fe8cec15baca0793935fc1df2ee [file] [log] [blame]
Elliott Hughes15fc6a22014-01-09 10:30:06 -08001#!/bin/awk -f
2# Filter out redundant "*32" symbols.
3
4BEGIN {
5 s=""
6 c=""
7}
8
9NF == 3 && $2 ~ /^"[^",]*",$/ {
10 if ($2 == s && $3 == c)
11 next
12 s = $2
13 sub(/",$/, "32\",", s)
14 c = $3
15}
16
17{
18 print
19}