Hacker News new | ask | show | jobs
by hobarrera 4068 days ago
I don't we'll eve see gnu core utils (due to licensing), but BSD core utilities would be great though.
1 comments

I don't think that would be terribly useful, as a bunch of concepts important to Windows the BSD core utilities would have no idea about. Registry, NTFS, etc.

Honestly, I find 'nix users unwilling to learn PowerShell the exact same as Windows user unwilling to learn a 'nix shell and core utilities.

PowerShell doesn't have SED -- but it has pipeline replacement.

  $ cat .\x.txt | %{$_ -replace "sed", "powershell"}
It also has ideas that are completely different... rather than plain text pipe, it has an object pipe, which lets you do stuff like:

  $ ps | sort company | ft ProcessName -groupby company
Which outputs your processes in table format grouped by company, like

  ...
   Company: Greenshot

  ProcessName
  -----------
  Greenshot

   Company: inkscape.org

  ProcessName
  -----------
  inkscape

   Company: IvoSoft

  ProcessName
  -----------
  ClassicStartMenu

   Company: Microsoft Corporation

  ProcessName
  -----------
  taskhostex
  conhost
  explorer
  ...