Re: O_DIRECT "packet mode" pipes on Linux

2020-09-23 Thread Robert Elz
Date:Wed, 23 Sep 2020 21:47:10 -0700 From:Vito Caputo Message-ID: <20200924044710.xpltp22bpxoxi...@shells.gnugeneration.com> | It's useful if you're doing something like say, aggregating data from | multiple piped sources into a single bytestream. With the

Re: O_DIRECT "packet mode" pipes on Linux

2020-09-23 Thread Vito Caputo
On Wed, Sep 23, 2020 at 11:53:10PM -0400, Lawrence Velázquez wrote: > > On Sep 23, 2020, at 11:41 PM, Vito Caputo wrote: > > > > On Wed, Sep 23, 2020 at 09:12:40AM -0400, Chet Ramey wrote: > >> On 9/22/20 11:23 PM, Vito Caputo wrote: > >>> Hello list, > >>> > >>> Is there any chance we could

Re: O_DIRECT "packet mode" pipes on Linux

2020-09-23 Thread Lawrence Velázquez
> On Sep 23, 2020, at 11:41 PM, Vito Caputo wrote: > > On Wed, Sep 23, 2020 at 09:12:40AM -0400, Chet Ramey wrote: >> On 9/22/20 11:23 PM, Vito Caputo wrote: >>> Hello list, >>> >>> Is there any chance we could get a | modifier for enabling O_DIRECT on the >>> created pipe? "Packet" style

Re: O_DIRECT "packet mode" pipes on Linux

2020-09-23 Thread Vito Caputo
On Wed, Sep 23, 2020 at 09:12:40AM -0400, Chet Ramey wrote: > On 9/22/20 11:23 PM, Vito Caputo wrote: > > Hello list, > > > > Is there any chance we could get a | modifier for enabling O_DIRECT on the > > created pipe? "Packet" style pipes have some interesting and potentially > > useful

Re: Feature request: Enable possibility of colored stderr output

2020-09-23 Thread Dale R. Worley
A M writes: > It would be really neat to have functionality that stderr could be > output in a different color compared to stdout. It seems like the right way to implement this would be to build a program that reads from two inputs at once and interleaves what it gets from the two inputs, and

Re: Confusing documentation of `ENV` in section "Bash variables"

2020-09-23 Thread Reuben Thomas via Bug reports for the GNU Bourne Again SHell
On Wed, 23 Sep 2020 at 14:24, Chet Ramey wrote: > "Expanded and executed similarly to BASH_ENV when an interactive shell is > invoked in POSIX Mode." > Yes, that's better than my suggestions, thanks! -- https://rrt.sc3d.org

Re: Confusing documentation of `ENV` in section "Bash variables"

2020-09-23 Thread Chet Ramey
On 9/22/20 6:27 PM, Reuben Thomas via Bug reports for the GNU Bourne Again SHell wrote: > The documentation says: > > 'ENV' > Similar to 'BASH_ENV'; used when the shell is invoked in POSIX Mode > (*note Bash POSIX Mode::). Hmmm, I can see that. How about, as you suggest, something like

Re: O_DIRECT "packet mode" pipes on Linux

2020-09-23 Thread Chet Ramey
On 9/22/20 11:23 PM, Vito Caputo wrote: > Hello list, > > Is there any chance we could get a | modifier for enabling O_DIRECT on the > created pipe? "Packet" style pipes have some interesting and potentially > useful properties, it would be nice if bash made them more accessible. Is there a

O_DIRECT "packet mode" pipes on Linux

2020-09-23 Thread Vito Caputo
Hello list, Is there any chance we could get a | modifier for enabling O_DIRECT on the created pipe? "Packet" style pipes have some interesting and potentially useful properties, it would be nice if bash made them more accessible. pipe(2) O_DIRECT excerpt: O_DIRECT (since Linux 3.4)

Re: Bash-5.1-beta available

2020-09-23 Thread felix
Hi, On Mon, Sep 21, 2020 at 09:13:13PM -0400, Dale R. Worley wrote: > Andreas Schwab writes: > I assume that if you really want the old effect, you can still do > > exec {dup}<&1 You mean: exec {dup}<&0 > > ... <( ... <$dup ) ... and: ... <( ... <&$dup ) ... > > exec