Building the Tree command
I'm needing help for the following:
Write a program that prints out a directory tree using a for loop within a function.
The function should call itself when it encounters a directory and then work on listing the contents of that directory.
The function should accept the directory to search as a parameter.
I need to be able to do this without using ls -l -r.
Any help would be appreciated!