> hi, can i use this:

Could you explain in words what you are trying to do?

It looks to me like all you want to do is execute command line commands which you 
don't need to open a pipe for.

Try 
 qx(du -h -a > /tmp/all 2>/dev/null);
 qx(find -type d sed| s/^\./d       \./ >> /tmp/all);
 qx(sort +1 /tmp/all > /tmp/LIST);

This will execute the comands but not doing anythign with output from them which 
is what you where doing before by opening a pipe to them.

You can get their output by doing:

 my $out = qx(....);
        if($out....

HTH DMuey

> 
> 
> open (DU1,"| du -h -a > /tmp/all 2>/dev/null");
> open (DU2,"| find -type d sed| s/^\./d       \./ >> /tmp/all");
> open (DU3,"| sort +1 /tmp/all > /tmp/LIST");
> close(DU1);
> close(DU2);
> close(DU3);
> 
> 
> with magic open? i think sed is not supprted? how can i do
> exactly this another way? if possible with magic open.
> 
> THANKS :)
> .::My homepage::.
> http://math55.de.vu
> 
> .::Very good JAVA related site::.
> http://www.javaCore.de
> 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to