help-bash
[Top][All Lists]
Advanced

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

Re: Process substitution documentation request


From: Zachary Santer
Subject: Re: Process substitution documentation request
Date: Wed, 24 Jun 2026 08:12:51 -0400

On Wed, Jun 24, 2026 at 7:22 AM Greg Wooledge <greg@wooledge.org> wrote:
>
> You're right -- sudo does break this (at least on Linux).  It might
> work as expected on platforms where process substitution uses a named
> pipe.
>
> Speaking of named pipes, those work fine (with diff!) if they're
> explicitly created:

There could be a shopt option to force process substitutions to use
named pipes even on systems that support /dev/fd/n. Not that this
seems to come up a lot, but the process substitution syntax is nicer
to look at.

> I don't know whether this would work with cryptsetup.  If you never
> tested cryptsetup with procsubs *without* sudo, then you don't know
> either.

Correct me if I'm wrong, but you could do this by su'ing to root
before running the command, right?



reply via email to

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