[latex3-commits] [latex3/latex3] main: Code comment added (3d10429a0)
github at latex-project.org
github at latex-project.org
Tue Feb 20 09:14:56 CET 2024
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/3d10429a082fce0205e1dfe7a221f1fec07146e6
>---------------------------------------------------------------
commit 3d10429a082fce0205e1dfe7a221f1fec07146e6
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Feb 20 08:14:56 2024 +0000
Code comment added
>---------------------------------------------------------------
3d10429a082fce0205e1dfe7a221f1fec07146e6
l3experimental/l3sys-shell/l3sys-shell.dtx | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/l3experimental/l3sys-shell/l3sys-shell.dtx b/l3experimental/l3sys-shell/l3sys-shell.dtx
index cbf78cb6a..b93a4d202 100644
--- a/l3experimental/l3sys-shell/l3sys-shell.dtx
+++ b/l3experimental/l3sys-shell/l3sys-shell.dtx
@@ -408,6 +408,12 @@
}
}
}
+% \end{macrocode}
+% On Windows, we can either get just file names (|dir /b|) or file names with
+% complete paths (|dir /s /b|), but not file names with relative paths in
+% a simple way. So we take the full paths and trim off the current working
+% directory. Normalization gives the same results as |ls|, hopefully.
+% \begin{macrocode}
\sys_if_platform_windows:T
{
\cs_new_protected:Npe \@@_shell_split_ls:nN #1#2
More information about the latex3-commits
mailing list.