LWN.net Logo

Evolution of shells in Linux (developerWorks)

Evolution of shells in Linux (developerWorks)

Posted Dec 8, 2011 19:46 UTC (Thu) by quotemstr (subscriber, #45331)
In reply to: Evolution of shells in Linux (developerWorks) by bjartur
Parent article: Evolution of shells in Linux (developerWorks)

sh allows you to pass *any* string as an argument if you're sufficiently careful and follow a few straightforward rules. PowerShell hopelessly mangles arguments containing double-quotes and backslashes, and there's no workaround less complex than just calling CreateProcess yourself.

I find it very difficult to care about PowerShell's fancy object piping when basic arguments don't work right.


(Log in to post comments)

Evolution of shells in Linux (developerWorks)

Posted Dec 8, 2011 20:35 UTC (Thu) by HelloWorld (guest, #56129) [Link]

Unlike the lack of structured data in pipes, this is something that can be fixed in the shell itself, i. e. without modifying all programs/cmdlets.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds