🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #11194

Re: Can I add an enty to /etc/magic to make file(1) understand DVI?

#11194
From: Ignatios Souvatzis
Date: Mon, 30 Sep 1991 04:28
30 lines
1925 bytes
Ok, I got some replies about single and double \\'s in the -dumb
file...  (thanks to Gerben Wierda <wierda@ltb.bso.nl> and Ken Yap
<ken@syd.dit.csiro.au> for testing...

Version 1.6 has 4 files, (append-magic{,-dumb,-verydumb,-ultrix}). If
you used -dumb earlier, you should switch to -verydumb.  GB and KY
should try -dumb.  This distribution is kind of a patch. Pipe it
through sh in a writable directory containing the 1.5 unshared (AND
UNTOUCHED BY YOU) files. 

#!/bin/sh
for file in append-magic append-magic-dumb append-magic-ultrix
do
echo Patching $file...
mv $file $file.orig
sed -e '4s/1.5/1.6/' \
	-e '4s/26-Sep/30-Sep/' \
	-e '19s/\\docu/\\\\docu/' $file.orig >> $file 
done
echo Creating append-magic-verydumb...
sed -e '4s/1.5d/1.6vd/' \
	-e '4s/26-Sep/30-Sep/' append-magic-dumb.orig > append-magic-verydumb
echo I think I am ready. What do you think\?
exit 0

--
Paper mail: Ignatios Souvatzis, Radioastronomisches Institut der 
            Universitaet Bonn, Auf dem Huegel 71, D-5300 Bonn 1, FRG
Internet:   u502sou@mpirbn.mpifr-bonn.mpg.de
            souva@babsy.mpifr-bonn.mpg.de
Technical Details
Message-ID: <U502SOU.91Sep30052806@mpirbn.mpifr-bonn.mpg.de>
Path: arc1-ca.pugleaf.net!wupost!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ox.com!math.fu-berlin.de!unido!mpirbn!u502sou
References: <949@ltb.ltb.bso.nl> <17637@chopin.udel.edu> <1037@ltb.ltb.bso.nl> <U502SOU.91Sep26094327@mpirbn.mpifr-bonn.mpg.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!wupost!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ox.com!math.fu-berlin.de!unido!mpirbn!u502sou
From: u502sou@mpirbn.mpifr-bonn.mpg.de (Ignatios Souvatzis)
Newsgroups: comp.text.tex,alt.sources,sub.tex
Subject: Re: Can I add an enty to /etc/magic to make file(1) understand DVI?
Message-ID: <U502SOU.91Sep30052806@mpirbn.mpifr-bonn.mpg.de>
Date: 30 Sep 91 04:28:06 GMT
References: <949@ltb.ltb.bso.nl> <17637@chopin.udel.edu> <1037@ltb.ltb.bso.nl>
 <U502SOU.91Sep26094327@mpirbn.mpifr-bonn.mpg.de>
Sender: u502sou@mpirbn.mpifr-bonn.mpg.de
Reply-To: u502sou@c1a
Distribution: world,alt,sub
Organization: /mnt0/u502sou/.organization
Lines: 30
In-reply-to: u502sou@mpirbn.mpifr-bonn.mpg.de's message of 26 Sep 91 07:43:27 GMT
X-Md4-Signature: 3ec4c52b361dcfe987d5065624dbf001