tlmgr search output

Joseph Wright joseph at texdev.net
Wed Apr 24 15:28:30 CEST 2024


On 24/04/2024 13:12, Norbert Preining wrote:
> Hi Joseph,
>
> On Wed, 24 Apr 2024, Norbert Preining wrote:
>> {
>> 	"packages": {
>> 		"<PKG1>": "<SHORTDESC1>",
>> 		...
>> 	},
>> 	"files": {
>> 		"<PKG1>": [ "<FILE1>", ... ],
>> 		...
>> 	}
>> }
>
> That is what you get (without whitespace, though) when you do
> 	tlmgr search --json ...
>
> An example:
>
> $ tlmgr search --json --file /article.cls | json_pp
> {
>     "files" : {
>        "latex" : [
>           "texmf-dist/tex/latex/base/article.cls"
>        ],
>        "latex-base-dev" : [
>           "texmf-dist/tex/latex-dev/base/article.cls"
>        ]
>     },
>     "packages" : {}
> }
> $
>
> Will be (if build succeeds) in tomorrow's tlcritical.
>
> Best regards
>
> Norbert

I'll take a look later: thanks to you and Marei I was able to get
something working already - https://tex.stackexchange.com/a/716373/73.

Joseph




More information about the tex-live mailing list.