Is there some non ridiculous (foreach) way to reproduce the linux output with powershell?
echo A{0..9} A0 A1 A2 A3 A4 A5 A6 A7 A8 A9
Write-Host A(0..9) A 0 1 2 3 4 5 6 7 8 9
Thank you!
Is there some non ridiculous (foreach) way to reproduce the linux output with powershell?
echo A{0..9} A0 A1 A2 A3 A4 A5 A6 A7 A8 A9
Write-Host A(0..9) A 0 1 2 3 4 5 6 7 8 9
Thank you!
I don't think this is ridiculous:
# If you want them on different lines
(0..9) | % {"A$_"} | Write-Host
# If you want them on the same line
(0..9) | % {"A$_ "} | Write-Host -NoNewline