[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Command-line mystery



On Wed, Aug 23, 2000 at 04:21:36PM +1000, Jason Henry Parker wrote:
> 
> Many a time I wished I had a shell that somehow had Perl's concept of
> context to perform pipelining with.

Sometimes I wish that I had a Perl that has the shells concept of
pipelining.

Byt then, I've written constructs like:

    for .... 
    do  for ....
        do  command <<EOT | sed -e 's/...//'
        ...
        ...
    EOT
        done | (echo ...; isql -args)
    done | awk '
        ....
    ' | isql -args > /dev/null

In production code. ;-)

In fact, the last time I wrote a shell script of substantial size, it
was full of constructs like above.


Abigail

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe