9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Rc Recursion
@ 2019-01-26  2:36 Parker Ellertson
  2019-01-26  3:03 ` Skip Tavakkolian
  0 siblings, 1 reply; 3+ messages in thread
From: Parker Ellertson @ 2019-01-26  2:36 UTC (permalink / raw)
  To: 9fans


[-- Attachment #1.1.1: Type: text/plain, Size: 499 bytes --]

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

[-- Attachment #1.1.2: 0xF7B8433D74D6F2DB.asc --]
[-- Type: application/pgp-keys, Size: 2505 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 673 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] Rc Recursion
  2019-01-26  2:36 [9fans] Rc Recursion Parker Ellertson
@ 2019-01-26  3:03 ` Skip Tavakkolian
  2019-01-26  3:35   ` Parker Ellertson
  0 siblings, 1 reply; 3+ messages in thread
From: Skip Tavakkolian @ 2019-01-26  3:03 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 723 bytes --]

recursion works fine. here's an example:

https://gist.github.com/9nut/476be37e25e9561f525036bcf60a2014


On Fri, Jan 25, 2019 at 6:37 PM Parker Ellertson <pellertson@firemail.cc>
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
>

[-- Attachment #2: Type: text/html, Size: 1136 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] Rc Recursion
  2019-01-26  3:03 ` Skip Tavakkolian
@ 2019-01-26  3:35   ` Parker Ellertson
  0 siblings, 0 replies; 3+ messages in thread
From: Parker Ellertson @ 2019-01-26  3:35 UTC (permalink / raw)
  To: 9fans


[-- Attachment #1.1: Type: text/plain, Size: 694 bytes --]

sweet! thanks

On 1/25/19 8:03 PM, Skip Tavakkolian wrote:
> recursion works fine. here's an example:
> 
> https://gist.github.com/9nut/476be37e25e9561f525036bcf60a2014
> 
> 
> On Fri, Jan 25, 2019 at 6:37 PM Parker Ellertson
> <pellertson@firemail.cc> 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!


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 673 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-26  3:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-26  2:36 [9fans] Rc Recursion Parker Ellertson
2019-01-26  3:03 ` Skip Tavakkolian
2019-01-26  3:35   ` Parker Ellertson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).