summaryrefslogtreecommitdiff
path: root/graphics/MF-PS/progs/spliteps.awk
blob: f14733c2a6a3b79b28af58c34d5cfd1ceda641d6 (plain)
1
2
3
4
5
6
7
8
9
#
# This file belongs to the MFTOEPS package.
#
# AWK program to be used by M2E.BAT
#
BEGIN {N=""}
$0 ~ /^:EPS FILE NAME: / {
 if (NF==3) {N="vicar.eps"} else {N=$NF ".eps"} print "extracting " N}
$0 ~ /^:PS: / {print substr($0,6) > N}