4 ms·
Powershell is the new shell. As it passes objects the filtering, sorting, joining is generic across files or any other data type.
by lozenge 4y ago
Powershell is the new shell.
As it passes objects the filtering, sorting, joining is generic across files or any other data type.
- chasil 4y agoAnd it is so wonderously mistaken in assigning a boolean type to $?. I really cannot fathom how this could be, as Microsoft bundles curl, which has nearly 100 exit codes on various types of failure. Whoever made this language decision needs to explain themselves.
- delta_p_delta_x 4y ago> And it is so wonderously mistaken in assigning a boolean type to $? Use $LASTEXITCODE for native executables, and $? for PowerShell cmdlets. https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_automatic_variables?view=powershell-7.3#lastexitcode https://learn.microsoft.com/en-us/powershell/module/microsof...