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] 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 2839760066e578e449ebc8b3d71297b9f79

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

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 Deliv

[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: https://9fans.topicbox.com/groups/9fans/Tad6cf6b7414c184