I've never gotten into PowerShell but I have absolute respect for the concept behind it, and how much more advanced it is than any shell you can find on UNIX. Think about it: instead of piping several commands through an unspecified string protocol that varies between each command (essentially what UNIX does), you are now piping real language objects in a uniform binary protocol defined by the shell itself.
How bad is the Windows command line really?
41–50 of 110 posts
Re: How bad is the Windows command line really?
#42Re: How bad is the Windows command line really?
#43Re: How bad is the Windows command line really?
#44Agree about Windows command prompt being lame compared to bash, but I really find PowerShell amazing, even more so then bash. If you look at all the recent (even not so recent) products from MS, it is clear that PowerShell is the shell for Windows, and not batch. I didn't get the cure for polio analogy that's in the article but I really think anyone that's comparing shells should compare with PowerShell.
You're on Hacker News. Most people who say they hate powershell have done so little posh they don't even know 'select' or 'where'.
Re: How bad is the Windows command line really?
#45Re: How bad is the Windows command line really?
#46Re: How bad is the Windows command line really?
#47Unreadable on mobile
Great, dowvoted for reporting a problem. Typical HN.
Personally, I've found treating unexpected downvotes as editorial feedback on the quality of my writing helpful. I just assume that:
1. I didn't make my point clearly
2. My comment was low quality
3. Someone just disagrees with the point
In the first case, I edit or delete it. In the second case I just delete it...except in those cases when I deliberately make a low quality comment knowing it is likely to attract downvotes. The third case reduces to the other two in practice, though not so much in logical theory.Re: How bad is the Windows command line really?
#48Earlier quoted context omitted.
But bash was around in the 80's, too, right? And it didn't seem to need those features. How did bash users get around your claimed need for this?
fork/exec is built in to bash, i.e. Unix. Batch was restricted by DOS, I wish I had never learned it, but it did come in handy for launching games.
Re: How bad is the Windows command line really?
#49Re: How bad is the Windows command line really?
#50You dont even need to give your software a ".exe" extension to run code.
Just rename a program removing its .exe extension, then call it from the command line. It will run!
Its perhaps better to compare dos BATch files with bash.