in reply to [Raku] Asterisk on DOS command line

Thanks LanX, jcb, and Discipulus for a useful discussion. I also found:

which I’ve only skimmed, but which appear to show that this is a known issue in Raku: I think it’s still to be resolved.

Cheers,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

  • Comment on Re: [Raku] Asterisk on DOS command line

Replies are listed 'Best First'.
Re^2: [Raku] Asterisk on DOS command line
by LanX (Saint) on Feb 11, 2021 at 13:52 UTC
    Sorry, but the best answer seems to be: avoid cmd.exe as a shell.

    Raku seems to attempt to compensate the shortcomings of cmd, but this can never fully succeed, since cmd does it's own expansions

    for instance environment vars inside % are expanded, no matter if quoted or not

    D:\tmp\pm>perl -e"print '%OS%'" Windows_NT D:\tmp\pm>

    And even if Raku succeeds in better compensating cmd-shell, I sincerely hope this is not globally so on Win and deactivated for other SHELLs.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery