> user types "texconfig init", producing these many formats. Is there a
> trick that the local texmf.cnf is compared to the global one, and just
> the formats for differing lines are generated?

Well, as administrator for a large multi-user site, you can support your
users by writing something like this (copied from texconfig):

        comm -13 $tmpdir/pre $tmpdir/post > $tmpdir/addOrChange
        for i in `awk '{print $1}' $tmpdir/addOrChange`; do
          fmtutil --byfmt "$i" || rc=1
        done

$tmpdir/pre would be the "global" file (sorted, without comments),
$tmpdir/post the user's file (sorted, without comments). comm finds the
changed/added lines and awk prints the names of the formats that are
affected. fmtutil --byfmt being called for each of those format names
rebuilds them.

I don't have something ready-to-use right now, but this should give you
an idea about how it can be done.

Thomas

Reply via email to