jdk/makefiles/sun/awt/CondenseRules.awk
changeset 12317 9670c1610c53
equal deleted inserted replaced
12316:ba6b7a51e226 12317:9670c1610c53
       
     1 BEGIN {
       
     2     previous="";
       
     3     prefix="";
       
     4     ORS="";
       
     5     OFS="";
       
     6 } 
       
     7 {
       
     8     if ($1 != previous) { 
       
     9 	if (previous != "") {
       
    10 	    print "\n\n";
       
    11 	}
       
    12 	previous = $1;
       
    13     	print $1;
       
    14 	prefix="\t";
       
    15     }
       
    16     print prefix $2;
       
    17     prefix=" ";
       
    18 }
       
    19 END {
       
    20     print "\n";
       
    21 }