4 ms·
PS> echo foo,bar,baz | ? { $_ -ne "foo" } The sed command is not a shell. You can use sed in PowerShell.
by kuma4 11y ago
PS> echo foo,bar,baz | ? { $_ -ne "foo" }
The sed command is not a shell. You can use sed in PowerShell.
- zaphar 11y agoYeah 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.