in reply to Re: Re: Perl 'pipe' problem
in thread Perl 'pipe' problem

ok try
/bin/bash -c 'grep perl $(find . -mtime -1) | wc -l'

Obviously, I changed the command a little so I would get some results on my box :) but the command structure is the same as yours.

I'm running Linux and it's working fine for me.

grep
Mynd you, mønk bites Kan be pretti nasti...

Replies are listed 'Best First'.
Re: Re: Re: Re: Perl 'pipe' problem
by mifflin (Curate) on Apr 23, 2003 at 23:54 UTC
    U da man! :)

    this seems to work for me...

    $x = `ksh -c "grep orderNumber \$(find /home/homedepot/ECOM/prod/in -mtime -1) | wc -l"`;

    Thanks.