From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 References: <7dcd30a9-de54-0958-b806-29373375ce55@firemail.cc> In-Reply-To: <7dcd30a9-de54-0958-b806-29373375ce55@firemail.cc> From: Skip Tavakkolian Date: Fri, 25 Jan 2019 19:03:57 -0800 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary="000000000000859de7058053b265" Subject: Re: [9fans] Rc Recursion Topicbox-Message-UUID: f41bffea-ead9-11e9-9d60-3106f5b1d025 --000000000000859de7058053b265 Content-Type: text/plain; charset="UTF-8" recursion works fine. here's an example: https://gist.github.com/9nut/476be37e25e9561f525036bcf60a2014 On Fri, Jan 25, 2019 at 6:37 PM Parker Ellertson wrote: > This might be a stupid question to ask, but how well does the rc shell > support recursion in its scripts? I ask because I'm writing a script > which will rely on calling itself a whole bunch. I could write it in > python or go or some other language, but I've been wanting to give rc a > try for a while. Seems like a cool shell to write scripts in. Any info > is appreciated! > > -- > Parker Ellertson > ================ > > email: pellertson@firemail.cc > pgp public key attached for those > who care > --000000000000859de7058053b265 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
recursion works fine. here's an examp= le:



On Fri, Jan 25, 2019 at 6:37 PM = Parker Ellertson <pellertson@firemail.cc> wrote:
This might be a stupid question to a= sk, but how well does the rc shell
support recursion in its scripts?=C2=A0 I ask because I'm writing a scr= ipt
which will rely on calling itself a whole bunch.=C2=A0 I could write it in<= br> python or go or some other language, but I've been wanting to give rc a=
try for a while.=C2=A0 Seems like a cool shell to write scripts in.=C2=A0 A= ny info
is appreciated!

--
Parker Ellertson
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

email: pellertson@firemail.cc
pgp public key attached for those
who care
--000000000000859de7058053b265--