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
russ@xxxxxxxxxxxxxxxx          http://www.unidata.ucar.edu/staff/russ



  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: