L3SYS-QUERY(1)

✨ l3sys-query(1) ✨

okay so bestie, welcome to the General Commands Manual entry for l3sys-query πŸ’… this is the group chat where TeX gets to peek at your system, and honestly? it's giving ✨competent✨


🌸 NAME 🌸

l3sys-query β€” the little script that lets your TeX run ask the system questions 🫢


πŸŽ€ SYNOPSIS πŸŽ€

l3sys-query <cmd> [<options>] [<args>]

πŸ¦‹ DESCRIPTION πŸ¦‹

So the l3sys-query script is literally a whole method for TeX runs to get system information, and it does that via shell escape to Lua ✨

Is it as powerful as the similar Java script texosquery? no babe, the facilities are more limited, and that's just the truth 😭 but here's the slay: because it uses Lua, l3sys-query can be used 'out of the box' with any installed TeX system πŸ’– no extra setup, no cap.

And the security girlies ate: the script is written taking account of the TeX Live security requirement, so it's suitable for use with restricted shell escape β€” which is the <em>standard setting</em> when you install a TeX system πŸ‘‘

bestie this matters. restricted shell escape is the default, and this thing was built with that in mind. it's not a "disable your security" situation, iykyk πŸ’…

⭐ COMMANDS ⭐

valid <cmd>s, periodt:

  • ls β€” prints a listing based on the <args> and <options> πŸ“
  • pwd β€” prints the present working directory 🧚

πŸ‘‘ OPTIONS πŸ‘‘

valid <options>, and yes we're doing all of them, no skipping:

  • --exclude [<xarg>] β€” excludes entries from the directory listing πŸ™ˆ
  • --help, -h β€” prints this message and exits πŸ’€
  • --ignore-case β€” ignore case when sorting the directory listing πŸ”₯
  • --pattern, -p β€” treat the (x)args as a Lua pattern ✨
  • --recursive, -r β€” activates recursive directory listing 🌈
  • --reverse β€” reversing the sorting order πŸ™ƒ
  • --sort [name|date] β€” the method used to sort the directory listing ⭐
  • --type [d|f] β€” select just the directories or the files in a listing πŸ’–
  • --version, -v β€” prints version information and exits πŸ‘‘

🌈 SEE ALSO 🌈


πŸ’œ AUTHORS πŸ’œ

Copyright (C) 2024 The LaTeX Project 🫢


not me ending this the correct way: this page is from LaTeX, dated 2024-04-08, and it's the L3SYS-QUERY(1) entry bestie πŸ’…βœ¨ slay, go query your system πŸ¦‹