by thesuperbigfrog · 3y ago · 0 comments
Powershell's structured data can cause issues if you expect it to be similar to Unix-like shells.
For example, Powershell mangles piped binary data by default:
https://brianreiter.org/2010/01/29/powershells-object-pipeli...
Correct handling of piped binary data requires additional flags:
https://stackoverflow.com/questions/54086430/how-to-pipe-bin...
Exactly. It means that system administrators need to be aware of the differences when working with Powershell versus other shells to avoid silent corruption of binary data.
Powershell is cross-platform and runs on Linux and MacOS as well as Windows:
https://github.com/PowerShell/PowerShell
You can discover differences between Powershell and traditional shells as a Linux admin.
And Python can cause issues if you expect it to be similar to Java. They're 2 different tools, so if you expect it to behave similarly to bash, that's on you
Is this a No True Scotsman?