[tex-live] tlmgr update and machine-readable

Maxwell, Adam R adam.maxwell at pnl.gov
Mon Jul 27 20:40:11 CEST 2009


I'm contemplating the best way to add an update progress bar to TeX Live
Utility instead of the present indeterminate progress indicator.  Running
tlmgr update --machine-readable, I find

stokes:~ amaxwell$ sudo tlmgr update
--location=http://ftp.math.utah.edu/pub//texlive/tlnet --machine-readable
animate asymptote beamer
Password:
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

So we have package, status, versions, and size (unpacked size, correct?).
This is fine.  The problem is that I need some way to discriminate the
machine-readable stuff from other messages.

Will messages like "tlmgr: package log..." and "running mktexlsr" ever be
interspersed with the machine readable output?  If not, an "end-of-output"
message would let me know that machine-readable messages are done, and the
remainder of the output is random stuff.  Otherwise, the machine-readable
lines may need some magic sequence at the start of the line.

thanks,
Adam



More information about the tex-live mailing list