Issue with tlmgr info --data on Windows

Siep Kroonenberg siepo at bitmuis.nl
Wed Sep 15 17:34:34 CEST 2021


On Wed, Sep 15, 2021 at 04:37:05PM +0200, christophe dervieux wrote:
> Thank you for sharing this.
> 
> tlmgr info --only-installed --data "name,size" works ok on CMD window
> indeed. I hadn’t notice. But it does not work in powershell.
> I still get the error.
> 
> I tried several quotes and can’t manage to find one that works in
> powershell.

Same here. I also tried to escape the comma with '`', but that made
no difference.

The following worked:

cmd /c --% tlmgr.bat info --only-installed --data "name,size"

'--%' means: 'stop parsing'.

> I believe in previous versions it was working ok. So I wonder what has
> changed.
> 
> | head -n 3 is not important here. It was just so that I could get a
> shorter result.
> 
> Le mer. 15 sept. 2021 à 16:28, Philip Taylor <P.Taylor at hellenic-institute.uk>
> a écrit :
> 
> > Christophe DERVIEUX wrote:
> >
> > Hi,
> >
> > I recently have an issue on Windows with tlmgr info
> >
> > This type of command works on Linux (Ubuntu 20)
> >
> > $ tlmgr info --only-installed --data name,size | head -n 3
> >
> >
> > I get the same here under Windows 7 (CMD prompt), Christophe , and can
> > work around it as follows :
> >
> > > tlmgr info --only-installed --data "name,size" | head -n 3
> > 12many,430080
> > 2up,94208
> > Asana-Math,1363968
> > Unable to flush stdout: Invalid argument
> >
> >
> > I assume that the "Unable to flush stdout: Invalid argument" is something
> > to do with " | head -n 3" (something I have never used).
> > --
> > *Philip Taylor*
> >
> >
> >
> >

-- 
Siep Kroonenberg


More information about the tex-live mailing list.