That’s why you shouldn’t use cmd or powershell. That and the fact that you’d have to install W*nd*ws in order to use them.
Edit: Too bad that all the downvoters didn’t leave a comment. Now I’ll never know if it was M*cr*s*ft employees on their anual works outing, or if you’re mad because I dared to use the W-word :D
Command line escaping is an annoying son of a bitch and different rules apply depending if you’re using bash, cmd, powershell.
That’s why you shouldn’t use cmd or powershell. That and the fact that you’d have to install W*nd*ws in order to use them.
Edit: Too bad that all the downvoters didn’t leave a comment. Now I’ll never know if it was M*cr*s*ft employees on their anual works outing, or if you’re mad because I dared to use the W-word :D
I hate windows/microsoft as much as anyone and i hate to say this but powershell isn’t that bad and can be installed on Linux and MacOS
Yeah but why would you, the already have proper shells
Command line escaping is not a solely cmd or powershell thing to deal with. But also,
https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.5
String escaping sucks in bash and other posix-style shells too, though.
“Tru dat\!”