File:  [Research Unix] / researchv10no / cmd / troff / dev202 / specmakefont
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

case $# in
0)	echo 'specmakefont widthfile Name internal# ...'; exit ;;
esac

arch=$1
shift

echo "# $*
name $1
internalname $2" >$1
awk '
BEGIN {
	OFS = "	"
	print "charset"
}

# read width file to get char number and width
# output is 
#	--- width 0 number

$1 ~ /^C[0-9][0-9][0-9]/ {
	if ($2 > 100)
		$2 = substr($2,1,2)
	n = substr($1,2) + 0
	print "---", $2, 0, n
} ' $arch >>$1

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.