Just another Perl shrine | |
PerlMonks |
Athanasius has asked for the wisdom of the Perl Monks concerning the following question:
I’m on Windows 8.1, 64-bit, using a standard DOS command-prompt (i.e., cmd.exe):
17:27 >cmd.exe Microsoft Windows [Version 6.3.9600] (c) 2013 Microsoft Corporation. All rights reserved. 17:27 >
In Perl, I can pass an asterisk (star character, *) on the command-line with no problem:
17:27 >perl -wE "say join ' ', @ARGV;" abc * def abc * def 17:29 >
However, in Raku it gets expanded into a list of the files in the current directory:
17:29 >raku -e "say @*ARGS.join: ' ';" abc * def abc ch-1.pl ch-1.raku ch-2.pl ch-2.raku Session.xml test.bat def 17:43 >
So I have two questions:
For the record:
Thanks,
Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: [Raku] Asterisk on DOS command line
by LanX (Saint) on Feb 10, 2021 at 14:39 UTC | |
Re: [Raku] Asterisk on DOS command line
by jcb (Parson) on Feb 11, 2021 at 02:52 UTC | |
by Discipulus (Canon) on Feb 11, 2021 at 07:56 UTC | |
by LanX (Saint) on Feb 11, 2021 at 03:21 UTC | |
Re: [Raku] Asterisk on DOS command line
by Athanasius (Archbishop) on Feb 11, 2021 at 12:10 UTC | |
by LanX (Saint) on Feb 11, 2021 at 13:52 UTC | |
Re: [Raku] Asterisk on DOS command line
by sortiz (Initiate) on Feb 11, 2021 at 18:51 UTC | |
by jcb (Parson) on Feb 12, 2021 at 02:33 UTC | |
by sortiz (Initiate) on Feb 15, 2021 at 10:23 UTC |