Hacker News new | ask | show | jobs
by kuma4 4052 days ago
PS> echo foo,bar,baz | ? { $_ -ne "foo" }

The sed command is not a shell. You can use sed in PowerShell.

1 comments

Yeah but sed isn't present by default in Powershell. in Unix systems it is and Powershell's ecosystem makes the approach sed uses a second class citizen.