3 ms·
> bash syntax is similarly insane At least it’s terse, which is good when you’re typing commands on the fly on the command line. PowerShell on the other hand
by mr_toad 3y ago
> bash syntax is similarly insane
At least it’s terse, which is good when you’re typing commands on the fly on the command line. PowerShell on the other hand is so unwieldy on the command line. Even the pervasive use of case slows down typing.
- MatejKafka 3y agoWith aliases, powershell can be quite terse as well, and since it's case-insensitive, you can just type everything in lowercase.
- MatejKafka 3y agoE.g. instead of the script presented in the article: (Get-ChildItem -Filter '*.txt' | ForEach-Object { $_.Length } | Measure-Object -Sum).Sum You can do ls *.txt | measure -Sum Length | % Sum