Hacker News new | ask | show | jobs
by MatejKafka 788 days ago
With aliases, powershell can be quite terse as well, and since it's case-insensitive, you can just type everything in lowercase.
1 comments

E.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