From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sun, 2 Sep 2012 13:25:29 -0400 To: 9fans@9fans.net Message-ID: <0d2163b339e8b9211593ad0c636e070a@brasstown.quanstro.net> In-Reply-To: References: <20120828150521.GA10731@intma.in> <20120828153548.GC11005@intma.in> <20120831222403.GA81150@intma.in> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] rc vs sh Topicbox-Message-UUID: b581193e-ead7-11e9-9d60-3106f5b1d025 On Sun Sep 2 11:21:53 EDT 2012, gleb.ax.sh@gmail.com wrote: > (haven't read the thread) > There's some things that rc cannot into: > - break/continue (well, perhabs I can do it a ugly way) works here: ; for(i in 1 2 3){echo $i;break} 1 it's a relatively simple change. there's no reason continue couldn't be added in the same way. i just didn't since without break you need condition variables. but continue can be replaced by slightly rewriting your code. if(x)continue;block can be replaced with if(! x)block so it didn't seem worth the bother. > - sane user interface (rlwrap rc won't give you THE TRUE POWER OF AUTOCOMPLETE) lol. - erik