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

Re: pqact, Unix pipes on a PIPE action



Hi Michael,

> EXP   ^(........\...)d\.Z$
>       PIPE
>       "uncompress  | crx2rnx - > /tmp/file.1"

The reason this won't work is that pqact doesn't invoke a Unix shell
to handle your command, it just invokes the command "uncompress" and
then hands it the string arguments "|", "crx2rnx", "-", ">", and
"/tmp/file.1".  A shell is required to do I/O redirection or pipes or
filename expansions, so if you need these, you should put the command
inside a shell script and invoke that from pqact instead.  You can
provide arguments to the shell script.

--Russ

_____________________________________________________________________

Russ Rew                                         UCAR Unidata Program
address@hidden          http://www.unidata.ucar.edu/staff/russ