Hacker News new | ask | show | jobs
by lhecker 13 days ago
As hex4def6 said, the idea was that DOS command conflicts are not a good idea, while overriding PowerShell builtins in interactive sessions (PSReadLine) is acceptable, if not a good idea. We open-sourced DOS sort and published a port of the DOS find command. The suite then dispatches to the GNU/DOS variant based on heuristics.
1 comments

Echo doesn't conflict with the DOS command?
Yup! echo is a CMD builtin and doesn't exist as a dedicated executable.
Sorry, I'm not following the logic. Isn't the same true for dir?
...huh, true. It's weird what kind of mistakes one can do sometimes. This one was almost comically on the nose.
Is there a list of CMD builtins somewhere?