jdk/makefiles/sun/awt/CondenseRules.awk
changeset 12892 3ef14bab6254
parent 12891 5dbaa8f0f72e
child 12893 483a74a0b295
equal deleted inserted replaced
12891:5dbaa8f0f72e 12892:3ef14bab6254
     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 }