l3sys-query1
Usage
l3sys-query <cmd>
[<options>]
[<args>]
Overview
The l3sys-query script provides a method for TeX runs to obtain system information via shell escape to Lua. The facilities are more limited than the similar Java script texosquery, but since it uses Lua, l3sys-query can be used 'out of the box' with any install TeX system. The script is written taking account of TeX Live security requirement; it is therefore suitable for use with restricted shell escape, the standard setting when installing a TeX system.
Commands
Valid <cmd>s are:
ls Prints a listing based on the <args> and <options>
pwd Prints the present working directory
Options
Valid <options> are:
--exclude [<xarg>] Exclude entries from directory listing
--help|-h Prints this message and exits
--ignore-case Ignore case when sorting directory listing
--pattern|-p Treat (x)args as a Lua pattern
--recursive|-r Activates recursive directory listing
--reverse Reversing sorting order
--sort [name|date] Method used to sort directory listing
--type [d|f] Select just the directories or files in a listing
--version|-v Prints version information and exits
Releases
Unchanged in 2 releases since Debian 13 (Trixie).