changeset 12317 | 9670c1610c53 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/makefiles/sun/awt/CondenseRules.awk Tue Apr 10 08:22:03 2012 -0700 @@ -0,0 +1,21 @@ +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"; +}