4 Answered Questions for the topic recursion
How to recursively find and list the latest modified files in a directory with subdirectories and times?
- Operating system: Linux - Filesystem type: ext3 - Preferred solution: bash (script/oneliner), ruby, python I have several directories with several subdirectories and files in them. I need to... more
Way to go from recursion to iteration?
I've used recursion quite a lot on my many years of programming to solve simple problems, but I'm fully aware that sometimes you need iteration due to memory/speed problems.So, sometime in the very... more
What is tail recursion?
While learning lisp, I've come across the term *tail-recursive*. What does it mean exactly?
Recursively look for files with a specific extension?
I'm trying to find all files with a specific extension in a directory and its subdirectories with my bash (Latest Ubuntu LTS Release). This is what's written in a script file: #!/bin/bash ... more