Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
one-true-awk
/
refs/heads/odm/dev/target/13/fp5
/
.
/
testdir
/
t.array2
blob: 0a67221a50a2ae9970f966276ea47346e2444c5c [
file
] [
log
] [
blame
]
$2
~
/^[a-l]/
{
x
[
"a"
]
=
x
[
"a"
]
+
1
}
$2
~
/^[m-z]/
{
x
[
"m"
]
=
x
[
"m"
]
+
1
}
$2
!~
/^[a-z]/
{
x
[
"other"
]
=
x
[
"other"
]
+
1
}
END
{
print
NR
,
x
[
"a"
],
x
[
"m"
],
x
[
"other"
]
}