Linked by Adam S on Tue 8th Jul 2008 12:47 UTC
Talk, Rumors, X Versus Y In 2006, Microsoft released Windows Powershell, a new command line shell that, via cmdlets, scripts, and executables, allow core system administration tasks to be scripted. While this functionality has been available on Unix-type systems for decades, Microsoft's version will almost certainly, within a few years, be available on several hundred million PCs. So how does the Powershell stack up against Linux favorite bash? MSDN links to this Bash vs Powershell article.
Thread beginning with comment 322005
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[4]: cygwin
by agrouf on Tue 8th Jul 2008 20:39 UTC in reply to "RE[3]: cygwin"
agrouf
Member since:
2006-11-17

Even so, why didn't they make it somewhat compatible with other shells? I mean all shells use special features, be it ksh, bash or zsh, but they all support plain sh. For instance, GNU autotools' configure script doesn't use extra features and it can run everywhere *except* Windows because ps doesn't support basic shell syntax! Did they really have to invent a new syntax for basic features to support the extra ones when others shells do not have to?

Reply Parent Score: 1

RE[5]: cygwin
by BluenoseJake on Wed 9th Jul 2008 02:41 in reply to "RE[4]: cygwin"
BluenoseJake Member since:
2005-08-11

I don't see why it had to be compatible with other shells, it doesn't run on a *nix and a lot of the underlying toolset is missing, grep, awk you name it. Also, they had a nice new powerful framework to base it on, with all the functionality a good shell needs.

If they had of tried to make it sh compatible, you would have ended up with a system that looks compatible, but would probably fail in such subtle ways as to make it incompatible, and super annoying.

If you really want or need to run a unix cli, why not run Linux or BSD? we need good interoperability between OSs, but not cli syntax compatibility.

Reply Parent Score: 4