Hacker News new | ask | show | jobs
by anoonmoose 2607 days ago

  cat .\somefile.txt | sort | unique | add-content "sortfile.txt"
I mean really it's not that hard to learn the actual PS syntax instead of the aliases:

  get-content .\somefile.txt | sort-object | get-unique | add-content .\sortfile.txt