On 2019-12-01 19:28, yary wrote:
None of the examples in the earlier emails were on the command line.
Please only use the examples in my prior message in this thread inside a
program file. Using these on the command-line is outside the scope of
what I want to deal with here.
Windows quoting on the command line is enough of a headache that I use
this rule- double quotes only at the first and last character of an
argument. There's more to it... I don't want to spend lots of time on
the arcana.
Hi Yary,
I have about had it with Windows one liners.
<yary1.pl6>
my Str $Drive = "B";
print( "Drive $Drive:\\ dismounted\n\n" ); # I prefer, no need for ~
print( "Drive $Drive:" ~ Q'\' ~ " dismounted\n\n" );
</yary1.pl6>
K:\Windows\NtUtil>perl6 yary1.pl6
Drive B:\ dismounted
Drive B:\ dismounted
Joy.
What is the world is the Q doing in Q'\'?
Thank you for the help!
-T