3 ms·
> Perhaps that's just a reflection of my lack of experience with PowerShell Obviously. If you create pwsh script that is longer then equivalent bash script an
by majkinetor 4y ago
> Perhaps that's just a reflection of my lack of experience with PowerShell
Obviously.
If you create pwsh script that is longer then equivalent bash script and more confusing, then you are doing it wrong. One almost never parses string in pwsh, unless string parsing is your primary task itself. Contrary, in bash, you always parse text, no matter what you want to do, which is defocusing and hard to maintain, and has cross-OS problems even in *nix land (solaris vs red had comes to mind and their respective ls/stat output which differs).
- bheadmaster 4y ago> One almost never parses string in pwsh Assuming that there are object-based commands that do everything that you need, which is quite a generous assumption.