12 ms·
That's not the problem MS was trying to fix with the Linux aliases -- the problem they were trying to fix was ergonomics. A lot of us are used to Linux commands
by Eyas 10y ago
That's not the problem MS was trying to fix with the Linux aliases -- the problem they were trying to fix was ergonomics. A lot of us are used to Linux commands and are turned off by Windows shells when we have to learn a new set of commands and can't use `ls`.
In fact, being able to do `ls` rather than `dir` on PowerShell was one big reason I gave it a chance. My other Windows shell experiences have been supremely intolerable because of that.
With curl and wget, Microsoft admits they were overeager.
- kstrauser 10y agoI think the correct ergonomics would be if you saw: $ curl http://example.com/foo Fetching http://example.com/foo by emulating curl This command is an alias for "...". If you've installed a real curl command, disable this by typing... so that you could still use muscle memory to type the commands you know, could see what the actual underlying command is so you could adapt to it, and would know how to use the Real Thing if you have it.
- emodendroket 10y agoKind of noisy, isn't it?
- kstrauser 10y agoIt is, but the noise is telling you how it differs from what you'd normally expect and how to address it. I think that's an acceptable tradeoff.
- emodendroket 10y agoI think it is immediately obvious from the output that it's not the same program, without the message.
- kstrauser 10y agoReally? What's the normal output? The content of the URL being fetched. If that message was to STDERR so that curl > foo worked without alteration but the help text still showed up on the console, I think fewer people would be surprised. The number of bugs about this indicates that people are still being surprised.
- emodendroket 10y agoThat is not the output of the PoSh command. Like most of them it outputs a list of object properties and values: https://mcpmag.com/articles/2013/01/22/~/media/ECG/mcpmag/Images/2013/01/130121mcp_hicks01.ashx https://mcpmag.com/articles/2013/01/22/~/media/ECG/mcpmag/Im...
- deleted 10y ago[deleted]