[tex-live] tlmgr update and machine-readable

Norbert Preining preining at logic.at
Mon Jul 27 23:03:27 CEST 2009


Hi Adam,

On Mo, 27 Jul 2009, Maxwell, Adam R wrote:
> location-url    http://ftp.math.utah.edu/pub//texlive/tlnet
> tlmgr: installation location http://ftp.math.utah.edu/pub//texlive/tlnet
> total-bytes    6118693
> end-of-header
> animate    u    14352    14420    2830743
> asymptote    u    14356    14423    1474027
> beamer    u    13822    14461    1813923
> tlmgr: package log updated at
> /usr/local/texlive/2009/texmf-var/web2c/tlmgr.log
> running mktexlsr ... done

Ah ok, up to the listing of the packages being updated that is fine.
So what you need is something like
	end-of-header
after the update block, like
	end-of-updates
because everything below is the postinst actions taken by tlmgr.

Would it be enough to have the line
	end-of-updates
on a line itself?

> Will messages like "tlmgr: package log..." and "running mktexlsr" ever be
> interspersed with the machine readable output?  If not, an "end-of-output"

No. the tlmgr:package log stuff should actually be on STDERR, did you
check that?

Can you run the above with 2>/dev/null to see what is written to stdout?

Of course it could be that some messages are still "print"-ed, and not
using our own "info" routine which in the case of machine-readable 
outputs to STDERR.

So let me know what you need, either a end-of-updates, or fixing some
spurious output to STDOUT. I think at the time we discussed and implemented
that the idea was to redirect (within tlmgr) all output that is not
in machine-readable form to STDERR.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
PEEBLES (pl.n.)
Small, carefully rolled pellets of skegness (q.v.)
			--- Douglas Adams, The Meaning of Liff


More information about the tex-live mailing list