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
Index: T m

⟦4954b18e4⟧ TextFile

    Length: 521 (0x209)
    Types: TextFile
    Names: »mksedscript«

Derivation

└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z« 
        └─⟦ca79c7339⟧ 
            └─⟦this⟧ »DVIware/crt-viewers/X/xdvi/mksedscript« 

TextFile

#! /bin/csh -f
unset	x10 buttons a4
set	noglob
foreach x ($argv[3-])
	if ($x == -DX10)	set x10
	if ($x == -DBUTTONS)	set buttons
	if ($x == -DA4)		set a4
end
if ($?x10) then
	echo	/^\#ifx11/,/^\#/d
	echo	s/%%dot%%//
else
	echo	/^\#ifx10/,/^\#/d
	echo	s/%%dot%%/./
endif
if (! $?buttons)	echo /^\#ifbuttons/,/^\#/d
echo	/^\#/d
if ($?a4) then
	echo	's/%%defaultpagesize%%/21 x 29.7 cm (A4 size)/'
else
	echo	s/%%defaultpagesize%%/8.5 x 11 inches/
endif
echo	s\;%%DEFAULT_FONT_PATH%%\;$1\;
echo	s/%%DEFAULT_FONT_SIZES%%/$2/