[luatex] Wildcard expansion by texlua on Windows
luigi scarso
luigi.scarso at gmail.com
Mon Mar 11 11:22:49 CET 2024
On Mon, 11 Mar 2024 at 09:11, Joseph Wright <joseph at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20240311/dd599738/attachment.htm>
More information about the luatex
mailing list.