DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦c9c62af5f⟧ TextFile

    Length: 498 (0x1f2)
    Types: TextFile
    Names: »convert«

Derivation

└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦c6be2784f⟧ »web2c-5.84b.tar.Z« 
        └─⟦5800b1b62⟧ 
            └─⟦this⟧ »src-5.84b/mf/convert« 
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦63303ae94⟧ »unix3.14/TeX3.14.tar.Z« 
        └─⟦c58930e5c⟧ 
            └─⟦this⟧ »TeX3.14/mf/convert« 

TextFile

#!/bin/sh
# Convert Metafont to C.
# 
sed=/bin/sed

$sed -e '
	: again
	/\.$/{
		N
		s/\.\n/\
./
		t again
	}
	s/\.hh/.hhfield/g
	s/\.lh/.lhfield/g
' ../common/common.defines ../common/texmf.defines mf.p \
	| ../web2c/web2c -h../common/texmf.h -m \
	| $sed -e '
    s/else write/else\
    write/
    s/ maxcoef\( *[^( ]\)/ lmaxcoef\1/g
    s/ b1/ lb1/g
    s/ b2/ lb2/g
    s/ b3/ lb3/g
' \
	| ../web2c/fixwrites \
	| ../web2c/splitup mf

cat coerce.h fixcoerce.h > xcoerce.h
mv xcoerce.h coerce.h