[Top][All Lists]

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

Re: /dev/fd/62: No such file or directory

From: Greg Wooledge
Subject: Re: /dev/fd/62: No such file or directory
Date: Mon, 31 Mar 2014 08:10:36 -0400
User-agent: Mutt/

On Fri, Mar 28, 2014 at 06:14:27PM -0700, Linda Walsh wrote:
> Does read varname <<<$(...) use process substitution?

I wouldn't dare write it like that, because who knows how the parser
will treat it.  I'd write it this way:

read varname <<< "$(...)"

This is a command substitution and a here-string.  Here-strings are
implemented with a temporary file, I believe.

> I'd think not.. but just to be safe... it's only the things
> with '<(' in them?

Process substitutions are <(...) and >(...).  These are the ones that
use either a named pipe, or a /dev/fd/* node.

reply via email to

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