help-bash
[Top][All Lists]
Advanced

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

Re: Process substitution documentation request


From: Chet Ramey
Subject: Re: Process substitution documentation request
Date: Mon, 29 Jun 2026 09:34:27 -0400
User-agent: Mozilla Thunderbird

On 6/26/26 7:08 PM, Borden via wrote:

26 Jun 2026, 11:49 by chet.ramey@case.edu:

I think they'll resist something that shell-specific. I hope they would add
something to the effect of "if you use a program that requires open file
descriptors to be passed from its parent, even implicitly using shell
process substitution, you must identify ...".

You can follow the heated discussion at 
https://www.sudo.ws/pipermail/sudo-users/2026-June/006667.html , which 
currently consists of my post... for all of June.

I don't understand what "shell-specific" means.

Process substitution is a shell-specific construct in the sense that it's
not available in all shells. It's not defined by POSIX, so it's not going
to be available everywhere.


sudo is a pretty essential command for distros that lock root by default. 
Process substitution has its own syntax, so it must be important. Whilst I may 
be the first person in history to try to combine the two (and it sounds like I 
am), it's not that esoteric compared to what other people use bash to do.

I'm saying that while bash is widespread, I suspect the sudo developers
will want to appear shell-agnostic.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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