Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
strace
/
15fc6a2add5cc636435b120075d2c27637528b11
/
.
/
linux
/
ioctlent-filter.awk
blob: 181c4bf709b77fe8cec15baca0793935fc1df2ee [
file
] [
log
] [
blame
]
#!/bin/awk -f
# Filter out redundant "*32" symbols.
BEGIN
{
s
=
""
c
=
""
}
NF
==
3
&&
$2
~
/^"[^",]*",$/
{
if
(
$2
==
s
&&
$3
==
c
)
next
s
=
$2
sub
(
/",$/
,
"32\","
,
s
)
c
=
$3
}
{
print
}