The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 2 of 2
Search took
0.00
seconds.
Search:
Posts Made By:
RudiC
Forum:
Programming
03-24-2018
6
Code review: recursion in circular array, reduce two functions to one?
2,384
Posted By
RudiC
Ohhh - got it . . . Try - recent bash (ksh)...
Ohhh - got it . . . Try - recent bash (ksh) required -
animals=(Lion Tiger Panther Cougar Cheetah Leopard)
DLT=1
IDX=3
for i in {1..20}
do echo $IDX: ${animals[IDX]}
(( IDX %...
Forum:
Programming
03-23-2018
6
Code review: recursion in circular array, reduce two functions to one?
2,384
Posted By
RudiC
That spec is beyond me. Mayhap others, with some...
That spec is beyond me. Mayhap others, with some assumptions on e.g. shell and data structure, find a sensible interpratation of what you write.
For an index not to exceed array boundaries the...
Showing results 1 to 2 of 2
Member Badges and Information Modal
×