[gs-cvs] rev 8112 - trunk/gs/lib

alexcher at ghostscript.com alexcher at ghostscript.com
Fri Jul 6 19:59:08 PDT 2007


Author: alexcher
Date: 2007-07-06 19:59:08 -0700 (Fri, 06 Jul 2007)
New Revision: 8112

Modified:
   trunk/gs/lib/afmdiff.awk
Log:
Add a shebang line to afmdiff.awk and use more portable option ( -3 ) to
request 3-column listing. Bug 688621.


Modified: trunk/gs/lib/afmdiff.awk
===================================================================
--- trunk/gs/lib/afmdiff.awk	2007-07-06 16:42:18 UTC (rev 8111)
+++ trunk/gs/lib/afmdiff.awk	2007-07-07 02:59:08 UTC (rev 8112)
@@ -1,3 +1,4 @@
+#!/usr/bin/awk -f
 ###=====================================================================
 ### Read two Adobe Font Metric files, and compute tables of the
 ### differences in character repertoire, declared widths (WX), and
@@ -120,7 +121,7 @@
 
 
 END		{
-		    Sortpipe = "sort -f | pr -c3 -w80 -l1 -t"
+		    Sortpipe = "sort -f | pr -3 -w80 -l1 -t"
 		    print "Comparison of AFM metrics in files:", ARGV[1], ARGV[2]
 		    print "Font names:", FontName[1], FontName[2]
 		    show_name_diffs(FontName[2],CharName2, FontName[1],CharName1)



More information about the gs-cvs mailing list