On Mon, 11 Mar 2024 at 09:11, Joseph Wright <jos...@texdev.net> wrote:
> On 11/03/2024 07:52, luigi scarso wrote: > > $ ls -1 * > > boo > > foo > > test.lua > > > > $ texlua test.lua * > > boo > > foo > > test.lua > > > > $ texlua test.lua '*' > > * > > > > $ texlua test.lua "*" > > * > > > > $ texlua test.lua '"*"' > > "*" > > > > $ texlua test.lua "'*'" > > '*' > > > > and the same with luatex. I guess that it's not what you expect > > under windows, but at the moment I cannot test. > > Akira has adjusted the behaviour on Windows - the problem was that * was > being expanded by "texlua" but not by "luatex". > > * is quite tricky... https://superuser.com/questions/460598/is-there-any-way-to-get-the-windows-cmd-shell-to-expand-wildcard-paths It seems that with cmd.exe * expansion is left to the application, but with powershell the situation is just the opposite. Usually "something left to the application" calls for a command line option. -- luigi