4 ms·
I'd probably indent the grep in that case, though, to make things clearer. My own PowerShell scripts often take the form of Get-Foo | Where-Object {
by ygra 14y ago
I'd probably indent the grep in that case, though, to make things clearer.
My own PowerShell scripts often take the form of
Get-Foo |
Where-Object { $_.blah } |
ForEach-Object { ... }
etc., especially with longer pipelines.