[9fans] rc: <{command} and > mess with exit status

2021-06-16 Thread adr via 9fans
; if(grep a <{echo a}) echo true a true ; if(echo a | grep a >/tmp/1) echo true true But now: ; if(grep a <{echo a} >/tmp/1) echo true ; Is this expected? Regards, adr. -- 9fans: 9fans Permalink:

Re: [9fans] the #cat-v channel has moved to oftc

2021-06-16 Thread Ethan Gardener
On Tue, Jun 15, 2021, at 10:56 AM, hiro wrote: > freenode has deleted all channel and user accounts, including the > #cat-v IRC channel. I'm very sorry to hear about this. Freenode was a big part of my life for about 10 years. > we had already abandoned ship and moved to the oftc network

[9fans] Re: rc: <{command} and > mess with exit status

2021-06-16 Thread Anthony Martin
adr via 9fans <9fans@9fans.net> once said: > ; if(grep a <{echo a} >/tmp/1) echo true > ; > > Is this expected? This was fixed a few years ago in 9front: http://git.9front.org/plan9front/plan9front/2839760066e578e449ebc8b3d71297b9f79a8c99/commit.html Cheers, Anthony

Re: [9fans] rc: <{command} and > mess with exit status

2021-06-16 Thread adr via 9fans
Thanks, it looks like a bug. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tad6cf6b7414c1847-Me2445f0e132fd2e7da654a5e Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[9fans] 9legacy patches dependency & future releases

2021-06-16 Thread adr via 9fans
Hello, I was importing rc-line-split.diff from 9legacy and I realized that it is applied after rc-badrunes.diff. How are the dependencies of the patches noticed? Also I saw in https://plan9foundation.org "The sources for the Plan 9 operating system can be found at p9f.org/dl where new releases

Re: [9fans] rc: <{command} and > mess with exit status

2021-06-16 Thread Sigrid Solveig Haflínudóttir
; if(grep a <{echo a}) echo true a true ; if(echo a | grep a >/tmp/1) echo true true ; if(grep a <{echo a} >/tmp/1) echo true true 9front. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tad6cf6b7414c1847-M46d9b94091a4e687c6134eb0

Re: [9fans] rc: <{command} and > mess with exit status

2021-06-16 Thread ori
Quoth adr via 9fans <9fans@9fans.net>: > ; if(grep a <{echo a}) echo true > a > true > > ; if(echo a | grep a >/tmp/1) echo true > true > > But now: > ; if(grep a <{echo a} >/tmp/1) echo true > ; > > Is this expected? It's been fixed. Here's the patch: From

[9fans] Why is there no simple equivelent to plan9's pipes on linux?

2021-06-16 Thread Claude Noël
Plan 9 pipes: - can be opened by multiple proccesses - preserve write boundries - will cache a single write - 2 way - simple to use There's not really anything on linux that really compares to this. Is there any reason for this? Only thing I can think of is plan9 using 2 files per pipe. --

Re: [9fans] 9legacy patches dependency & future releases

2021-06-16 Thread David du Colombier
> I was importing rc-line-split.diff from 9legacy and I realized that > it is applied after rc-badrunes.diff. > > How are the dependencies of the patches noticed? The patches apply in order. Some are independent, but some are depending on other patches. -- David du Colombier

Re: [9fans] non-interruptible temporary: why do we care?

2021-06-16 Thread unobe
Quoth o...@eigenstate.org: > Our compilers will sometimes produce a warning about > a non-interruptible temporary: > ... > Why do we warn about non-interruptible > temporaries? What issues am I missing? Silence to this question means no one knows, right?

Re: [9fans] non-interruptible temporary: why do we care?

2021-06-16 Thread ori
Quoth un...@cpan.org: > Quoth o...@eigenstate.org: > > Our compilers will sometimes produce a warning about > > a non-interruptible temporary: > > ... > > Why do we warn about non-interruptible > > temporaries? What issues am I missing? > > Silence to this question means no one knows, right? >

Re: [9fans] 9legacy patches dependency & future releases

2021-06-16 Thread David du Colombier
> I see, then is more easy than I thought. I was going to ask you if > you wanted to include the rc patch sent to the list from 9front, > but I saw just now that is already there, that was fast! Yes, I saw the patch in the other thread, so I've added it. -- David du Colombier

Re: [9fans] non-interruptible temporary: why do we care?

2021-06-16 Thread Anthony Martin
un...@cpan.org once said: > Quoth o...@eigenstate.org: > > Why do we warn about non-interruptible > > temporaries? What issues am I missing? > > Silence to this question means no one knows, right? There is nothing new under the sun. Date: Mon, 4 Apr 2005 14:10:20 -0400 From: Russ

Re: [9fans] non-interruptible temporary: why do we care?

2021-06-16 Thread unobe
Quoth Anthony Martin : > There is nothing new under the sun. > > Date: Mon, 4 Apr 2005 14:10:20 -0400 > From: Russ Cox > To: Fans of the OS Plan 9 from Bell Labs <9f...@cse.psu.edu> > Subject: Re: [9fans] 'non-interruptable temporary' warning > Message-ID:

Re: [9fans] rc: <{command} and > mess with exit status

2021-06-16 Thread adr via 9fans
Thanks for the patch! -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tad6cf6b7414c1847-Ma7401221faeb5647bc8bec13 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] 9legacy patches dependency & future releases

2021-06-16 Thread adr via 9fans
On Wed, Jun 16, 2021 at 03:55:07PM +0200, David du Colombier wrote: > > I was importing rc-line-split.diff from 9legacy and I realized that > > it is applied after rc-badrunes.diff. > > > > How are the dependencies of the patches noticed? > > The patches apply in order. Some are independent, >