[latex3-commits] [latex3/l3sys-query] main: Describe file spec. as 'wildcards' not 'globs' (c5c0f95)

github at latex-project.org github at latex-project.org
Thu Mar 7 14:09:32 CET 2024


Repository : https://github.com/latex3/l3sys-query
On branch  : main
Link       : https://github.com/latex3/l3sys-query/commit/c5c0f95a49b770af7dbd039450bcd9fe095c76e6

>---------------------------------------------------------------

commit c5c0f95a49b770af7dbd039450bcd9fe095c76e6
Author: Joseph Wright <joseph at texdev.net>
Date:   Thu Mar 7 13:09:32 2024 +0000

    Describe file spec. as 'wildcards' not 'globs'
    
    Avoids confusion as we support only Windows-like ones.


>---------------------------------------------------------------

c5c0f95a49b770af7dbd039450bcd9fe095c76e6
 l3sys-query.tex | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/l3sys-query.tex b/l3sys-query.tex
index 0654b82..1abbfce 100644
--- a/l3sys-query.tex
+++ b/l3sys-query.tex
@@ -127,11 +127,12 @@ directory: for files \emph{in} the current directory, this will be |./|. The
 order of results will be determined by the underlying operating system process:
 unless requested \emph{via} an option, no sorting takes place.
 
-As standard, the \meta{args} are treated as a file glob, for example |*.png|. To
-prevent wildcards in such globs from being expanded at the wrong time, they
-should always be surround by |'| characters,\footnote{On Windows, the shell does
-not expand globs, but \texttt{texlua} does: using \texttt{'} is a
-platform-neutral way to avoid any expansion.} for example
+As standard, the \meta{args} are treated as a file/path name potentially
+including |?| and |*| as wildcards, for example |*.png| or |file?.txt|. To
+prevent wildcards from being expanded at the wrong time, they should always be
+surround by |'| characters,\footnote{On Windows, the shell does not expand
+wildcards, but \texttt{texlua} does: using \texttt{'} is a platform-neutral way
+to avoid any expansion.} for example
 \begin{verbatim}
   l3sys-query ls '*.png'
 \end{verbatim}





More information about the latex3-commits mailing list.