Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
one-true-awk
/
refs/heads/int/13/fp3
/
.
/
testdir
/
t.cond
blob: 256af655ee126c6b95b76000ada9a3550f291fb8 [
file
] [
log
] [
blame
]
{
print
(
substr
(
$2
,
1
,
1
)
>
substr
(
$2
,
2
,
1
))
?
$1
:
$2
}
{
x
=
substr
(
$1
,
1
,
1
);
y
=
substr
(
$1
,
2
,
1
);
z
=
substr
(
$1
,
3
,
1
)
print
(
x
>
y
?
(
x
>
z
?
x
:
z
)
:
y
>
z
?
y
:
z
)
}