http://qs321.pair.com?node_id=11110908


in reply to Re: beginners trap: one liner
in thread solved: beginners trap: one liner

Actually, the behavior on Windows (10, 1903 edition) appears to depend on one's shell.

I ran toohoo's test in different "command windows" on my Windows laptop.

Here's what I found:

I don't think these results surprise anyone familiar with how Windows has implemented some of these things; however, the variation may surprise a few others.

(Oh, should mileage vary [likely], I suppose it's worth mentioning that I have two copies of perl installed on my laptop: the one provided with git bash and a relatively recent copy of Strawberry perl.)

Hope this helps...

-- f

1 - There are multiple versions of PowerShell available; I use generally use Core, but the same behavior was seen in the Desktop version as well.