Re: [9fans] rc: null list in concatenation

2014-11-25 Thread trebol
Sorry for all that noise. The problem was simply confusion about strings, list of strings, list of strings and|or other list of strings... and too much coffee. What I needed was simply the use of $" to work around possible empty lists in concatenations (and of course read the man page carefully a

Re: [9fans] rc: null list in concatenation

2014-11-25 Thread trebol
> My be my poor English It's the proof itself!

Re: [9fans] rc: null list in concatenation

2014-11-25 Thread trebol
> Also, when the '^' is omitted, like in > > $dir(1)^$dir(2) Also, when the '^' is omitted, like in $dir(1)$dir(2) Sorry for the mess...

Re: [9fans] rc: null list in concatenation

2014-11-25 Thread trebol
> maia% (aa bb)=; echo > rc: variable name not singleton! Interesting, I could expect something like '(aa bb) = --> aa= bb=' but of course there is not a concatenation, but an assigment. > It's a "null list" not a "null string". You can use a null string: > > % s='' > % ls

Re: [9fans] running plan9 : an ideal setup?

2014-11-25 Thread erik quanstrom
On Tue Nov 25 08:52:33 EST 2014, a...@9srv.net wrote: > On Nov 25, 2014, at 1:59 , Bakul Shah wrote: > > > As long as you run IP, you pay the other costs for any protocol. > > But there's plenty of cases where you don't need even that. See AOE, or nonet > from very early Plan 9. I'd like that b

Re: [9fans] running plan9 : an ideal setup?

2014-11-25 Thread Anthony Sorace
On Nov 25, 2014, at 1:59 , Bakul Shah wrote: > As long as you run IP, you pay the other costs for any protocol. But there's plenty of cases where you don't need even that. See AOE, or nonet from very early Plan 9. I'd like that back. > If you use TCP you benefit from its near universality, dea

Re: [9fans] running plan9 : an ideal setup?

2014-11-25 Thread erik quanstrom
> > I haven't looked into why on the RPi plan9's tcp performance > > is about 30-40% of that on linux (which works near wire speed). > > For the local case it doesn't matter much in any case. > > (a) allocb() relies on deathly slow malloc; cf. qallocb in 9atom, which upps > performance quite a bi

Re: [9fans] running plan9 : an ideal setup?

2014-11-25 Thread erik quanstrom
> I think it is very realistic. They modified standard bsd > stack (I don't know its present state but back when I worked > on it, it needed to be simplified quite a bit). i think a no lock tcp stack from 1990 hacked to be even less sophisticated is anything but realistic. it's pure fantasy tha

Re: [9fans] rc: null list in concatenation

2014-11-25 Thread Charles Forsyth
It's a "null list" not a "null string". You can use a null string: % s='' % ls $s^/x but not a null list (like using null in many lisp list operations, or the difference between strcat of nil and strcat of ""): % s=() % ls $s^/x rc (-/bin/rc): null list in concatenation A completely unset varia

Re: [9fans] rc: null list in concatenation

2014-11-25 Thread arisawa
> 2014/11/25 15:56、tre...@india.com のメール: > > a = `{ls file}^test; echo 'this part is not executed if file doesn''t exist' probably your question is as follows: maia% a = `{ls file}^test; echo 'this part is not executed if file doesn''t exist' ls: file: 'file' directory entry not found rc: nul