Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  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


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: