News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPBuilder.com:
PHP and Shell Scripting Using Pipes
February 13, 2009 @ 07:51:52

On PHPBuilder.com today there's a new tutorial that takes a deeper look at shell scripting (continuing on from a previous article) with a focus on pipes and their use in simple PHP shell scripts.

This article covers some advanced uses of the language and shows some tricks that make PHP an extremely useful language to work with. Unlike Darrel's article [here] however, this one will also cover the Windows version of PHP as well as the Linux/Unix one.

They compare the two operating environments, noting what can and can't be done in each before getting to some of the "neat things" that pipes let you do. They show who to read from stdin (making it easy to pass the results from another command in) and what you can do with the results. Near the end there's also a bit included showing how to do a similar thing on windows (with the help of an external tool).

0 comments voice your opinion now!
pipes tutorial linux windows compare powertools stdin


blog comments powered by Disqus

Similar Posts

The Bakery: New Tutorials - PHPTAL, Multiple Checkboxes, and counterCache

ThinkPHP Blog: Creating press-ready PDF documents on the fly including individual barcodes

PHPro.org: Tutorial - Reciprocal Links

Matthew Weier O'Phinney's Blog: Creating Re-Usable Zend_Application Resource Plugins

SitePoint PHP Blog: Starting a New PHP Package The Right Way


Community Events





Don't see your event here?
Let us know!


version introduction symfony community opinion release configure laravel composer list interview podcast api voicesoftheelephpant series unittest framework language tool conference

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework