in reply to Using pipes to combine scripts

In Unix world, pipe is used frquently. Here is an example for the web-spell-checker from Wikipedia
curl "http://en.wikipedia.org/wiki/Pipeline_(Unix)" | \ sed 's/[^a-zA-Z ]/ /g' | \ tr 'A-Z ' 'a-z\n' | \ grep '[a-z]' | \ sort -u | \ comm -23 - /usr/dict/words
--Artist

Replies are listed 'Best First'.
Re^2: Using pipes to combine scripts
by blazar (Canon) on Nov 18, 2006 at 08:37 UTC
    Unix world, pipe is used frquently. Here is an example for the web-spell-checker from Wikipedia

    And while we're there, for the benefit of the OP, we may remind that while on the one hand this is one of the things that can make shell programming very powerful, there are generally better ways to "combine perl scripts" (or better, code) within Perl, where, "better" of course depends on the situation, and is in the eye of the beholder. Just to prevent the system 'this|that|thatother' (a.k.a. shell scripting in Perl) syndrome, you know!