[latex3-commits] [latex3/l3sys-query] main: Interpret "." as equal to "*" as arg. to ls (2369ad7)
github at latex-project.org
github at latex-project.org
Sun Mar 10 20:32:28 CET 2024
Repository : https://github.com/latex3/l3sys-query
On branch : main
Link : https://github.com/latex3/l3sys-query/commit/2369ad7b14dcea64518747161801b83f05db67a0
>---------------------------------------------------------------
commit 2369ad7b14dcea64518747161801b83f05db67a0
Author: Joseph Wright <joseph at texdev.net>
Date: Sun Mar 10 19:32:28 2024 +0000
Interpret "." as equal to "*" as arg. to ls
>---------------------------------------------------------------
2369ad7b14dcea64518747161801b83f05db67a0
l3sys-query.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/l3sys-query.lua b/l3sys-query.lua
index 7eb1db6..deafc60 100755
--- a/l3sys-query.lua
+++ b/l3sys-query.lua
@@ -433,7 +433,7 @@ end
-- Lua pattern, and then to do a listing.
cmd_desc.ls = "Prints a listing based on the <args> and <options>"
function cmd_impl.ls(arg_list)
- if not arg_list or arg_list == "" then
+ if not arg_list or arg_list == "" or arg_list = "." then
arg_list = "*"
end
-- Look for absolute paths or any trying to leave the confines of the current
More information about the latex3-commits
mailing list.