Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
libcore
/
319a3b994703aac84df7bcde272adfcb3cdbbbf0
/
.
/
jdk
/
make
/
sun
/
awt
/
CondenseRules.awk
blob: 89cfd6841b93095e46ff958a72468566a85c84eb [
file
] [
log
] [
blame
]
BEGIN
{
previous
=
""
;
prefix
=
""
;
ORS
=
""
;
OFS
=
""
;
}
{
if
(
$1
!=
previous
)
{
if
(
previous
!=
""
)
{
print
"\n\n"
;
}
previous
=
$1
;
print
$1
;
prefix
=
"\t"
;
}
print
prefix $2
;
prefix
=
" "
;
}
END
{
print
"\n"
;
}