<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 11 Mar 2024 at 09:11, Joseph Wright <<a href="mailto:joseph@texdev.net">joseph@texdev.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 11/03/2024 07:52, luigi scarso wrote:<br>
> $ ls -1 *<br>
> boo<br>
> foo<br>
> test.lua<br>
><br>
> $ texlua test.lua *<br>
> boo<br>
> foo<br>
> test.lua<br>
><br>
> $ texlua test.lua '*'<br>
> *<br>
><br>
> $ texlua test.lua "*"<br>
> *<br>
><br>
> $ texlua test.lua '"*"'<br>
> "*"<br>
><br>
> $ texlua test.lua "'*'"<br>
> '*'<br>
><br>
> and the same with luatex. I guess that it's not what you expect<br>
> under windows, but at the moment I cannot test.<br>
<br>
Akira has adjusted the behaviour on Windows - the problem was that * was<br>
being expanded by "texlua" but not by "luatex".<br>
<br></blockquote><div><br></div><div>* is quite tricky...</div><div><a href="https://superuser.com/questions/460598/is-there-any-way-to-get-the-windows-cmd-shell-to-expand-wildcard-paths">https://superuser.com/questions/460598/is-there-any-way-to-get-the-windows-cmd-shell-to-expand-wildcard-paths</a></div><div>It seems that with cmd.exe * expansion is left to the application, but with powershell the situation is just the opposite.</div><div>Usually "something left to the application" calls for a command line option.</div><div><br></div><div>--</div><div>luigi</div><div><br></div></div></div>