Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env awk
- BEGIN {
- split(toggleValues, boundaries, ",")
- start=0
- end=start+1
- }
- /U\+/ && /kMandarin/ {
- row = toHex($1);
- if (toHex(boundaries[start]) <= row && row <= toHex(boundaries[end])) print $1"\t"$3
- if (row >= toHex(boundaries[end])) {start+=2; end=start+1}
- }
- function toHex(field) { return strtonum("0x" substr(field, 3)) };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement