Re: [9fans] rc shell UNIX port repository

2009-12-14 Thread erik quanstrom
> So then how can I say on the same line > ifs=<> (I know about the actual newline > between the quotes, but I think it's a very ugly syntax, especially > when it involves indentation...) nl=' ' ifs=$nl cmd - erik

Re: [9fans] rc shell UNIX port repository

2009-12-14 Thread Ciprian Dorin, Craciun
On Mon, Dec 14, 2009 at 6:14 PM, erik quanstrom wrote: >>     One for example (I think it is a bug, but maybe in the semantics >> you've described it's not): >>     * again if we're using `-e`, and inside a function we write `fn >> dosomething { echo 1 ; false ; echo 2 ; return 0 ; }` >>     * if

Re: [9fans] rc shell UNIX port repository

2009-12-14 Thread erik quanstrom
> One for example (I think it is a bug, but maybe in the semantics > you've described it's not): > * again if we're using `-e`, and inside a function we write `fn > dosomething { echo 1 ; false ; echo 2 ; return 0 ; }` > * if we run `dosomething` it shall output only `1`, as the false >

Re: [9fans] rc shell UNIX port repository

2009-12-14 Thread Ciprian Dorin, Craciun
On Mon, Dec 14, 2009 at 4:08 PM, erik quanstrom wrote: >>     Unfortunately after playing a little bit more with rc, and trying >> it's syntax and semantics to the limit, I've also found other nasty >> bugs (some of which I've fixed, other I was not able to do so)... > > what nasty bugs?  could yo

Re: [9fans] rc shell UNIX port repository

2009-12-14 Thread erik quanstrom
> that's not a bug. -e is only evaluated at the end of a full rc > production. in yiour case, there is only one production and > it $status is '' (true) at the end of it. since echo 3 sets status > to true. sorry. i ment /echo 2/ sets status to true. - erik

Re: [9fans] rc shell UNIX port repository

2009-12-14 Thread erik quanstrom
> Unfortunately after playing a little bit more with rc, and trying > it's syntax and semantics to the limit, I've also found other nasty > bugs (some of which I've fixed, other I was not able to do so)... what nasty bugs? could you give some specifics. > By the way, what is the expected

Re: [9fans] rc shell UNIX port repository

2009-12-14 Thread Ciprian Dorin, Craciun
On Mon, Dec 14, 2009 at 11:49 AM, weakish wrote: > On Dec 6, 3:54 pm, ciprian.crac...@gmail.com (Ciprian Dorin, Craciun) > wrote: > >>     Now I'm trying to contribute back to the community, and I've sent >> an email to Tig Goodwin (at t...@star.le.ac.uk), which the mail server >> rejected (it

Re: [9fans] rc shell UNIX port repository

2009-12-14 Thread weakish
On Dec 6, 3:54 pm, ciprian.crac...@gmail.com (Ciprian Dorin, Craciun) wrote: >     Now I'm trying to contribute back to the community, and I've sent > an email to Tig Goodwin (at t...@star.le.ac.uk), which the mail server > rejected (it seems that the email is not valid any more). Have you tri

Re: [9fans] rc shell UNIX port repository

2009-12-06 Thread Axel Belinfante
I have been using es (by Paul Haahr and Byron Rakitzis) for quite some years on unix, although effectively I did not use most of its more advanced features. "Es is an extensible shell. The language was derived from the Plan 9 shell, rc, and was influenced by functional programming languages, s

Re: [9fans] rc shell UNIX port repository

2009-12-06 Thread erik quanstrom
> * who is maintaining the UNIX port of rc shell? (is it still > Tig?) (if so what's the email address?) > * is there a development repository for the source code? > * are there any unit-tests available for the rc shell? (because I > want to test my patches of not breaking something;

Re: [9fans] rc shell UNIX port repository

2009-12-06 Thread Frederik Caulier
If you don't want to install a full-blown plan9port you might just install 9base [0] which is part of the Suckless project. [0] http://tools.suckless.org/9base On Sun, Dec 6, 2009 at 1:58 PM, Ciprian Dorin, Craciun wrote: > On Sun, Dec 6, 2009 at 1:36 PM, Charles Forsyth wrote: >>>     * who is

Re: [9fans] rc shell UNIX port repository

2009-12-06 Thread Charles Forsyth
>(And if so, can I build [plan9port rc] and use it independent of the rest > of the tools?) building it standalone will be hard, although you can reduce the surrounding source considerably, since it uses mainly or only lib9 (plan 9 libc). a little experiment suggests that once built, you mig

Re: [9fans] rc shell UNIX port repository

2009-12-06 Thread Ciprian Dorin, Craciun
On Sun, Dec 6, 2009 at 1:36 PM, Charles Forsyth wrote: >>     * who is maintaining the UNIX port of rc shell? (is it still >>Tig?) (if so what's the email address?) > > if it's Byron Rakitzis' rc, it's not a `port' to UNIX of Plan 9's rc, > but an independent implementation, with differences in th

Re: [9fans] rc shell UNIX port repository

2009-12-06 Thread Charles Forsyth
> * who is maintaining the UNIX port of rc shell? (is it still >Tig?) (if so what's the email address?) if it's Byron Rakitzis' rc, it's not a `port' to UNIX of Plan 9's rc, but an independent implementation, with differences in the language, although it's quite usable and both versions are li

[9fans] rc shell UNIX port repository

2009-12-06 Thread Ciprian Dorin, Craciun
Hello all! I'm a new (1 week) user of the rc shell (I want to migrate from the Sh/Bash and their offsprings to rc after a lot of pain and misery with them). :) And so far I like the rc look-and-feel (by look I mean syntax and by feel I mean semantics.) as their quite minimal and with just