help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] populating an array with piped output in a loop


From: Clark J. Wang
Subject: Re: [Help-bash] populating an array with piped output in a loop
Date: Wed, 30 Nov 2011 09:55:09 +0800

On Wed, Nov 30, 2011 at 09:28, Dallas Clement <address@hidden> wrote:
Thanks guys.  That worked like a champ!   How does this process
substitution work?  I presume it writes the output of the pipe
commands to a fifo and this syntax causes the read loop to read from
the fifo.


From the bash manual:

   Process Substitution
       Process substitution is supported on systems that support  named  pipes
       (FIFOs)  or the /dev/fd method of naming open files.  It takes the form
       of <(list) or >(list).  The process list is run with its input or  out-
       put connected to a FIFO or some file in /dev/fd.  The name of this file
       is passed as an argument to the current command as the  result  of  the
       expansion.

--
-Clark

reply via email to

[Prev in Thread] Current Thread [Next in Thread]