5 rm -f rules/*.rules rules/foundries.new
9 ord=`perl -e 'print ord($ARGV[0]),"\n" or die $!' "$c"`
10 ./printrule >&3 "$bad" "$good" $height \
11 "^ENCODING $ord$" $partial "$c"
15 while read keyword rest; do
22 zcat $f/$pcf.pcf.gz | pcf2bdf >$out
29 next unless s/^BBX\s+//;
32 s/[-+]?\b\d+\b/ sprintf "%d", $& /ge;
33 m/^\d+\,(\d+)\b/ or die;
34 print "key=$_; height=$1\n" or die $!;
37 oldfoundry=`perl -ne '
38 next unless s/^FOUNDRY\s+\"?//;
43 printf "%s %s" "$oldfoundry" "$newfoundry" >>rules/foundries.new
44 exec 3>rules/$newfoundry,$key.rules
45 echo >&3 '# -*- perl -*-'
46 echo >&3 '# autogenerated by mkrules'
62 echo >&2 "??? $keyword"
68 mv rules/foundries.new rules/foundries