Hacker News new | ask | show | jobs
by MatejKafka 782 days ago
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