[cs631apue] Midterm Question

jphillip jphillip at stevens.edu
Thu Sep 20 20:55:27 EDT 2012


Another Midterm Question:  Does it matter whether we traverse and 
output the directory tree in a breadth-first or depth-first manner?

On Thu, 20 Sep 2012 16:59:34 -0400, tparisi wrote:
> Hi,
> I was wondering why the -d and -R flags aren't listed as conflicting.
> The -d flag says that Directories are listed as plain files and not
> recursively searched.  The -R flag is for recursively searching the
> subdirectories.  The real "ls" command has -d on by default.  Should
> we follow the real "ls" or is there another guideline to follow?
> Basically, I am asking whether the -d flag is on by default or if the
> -R flag is on by default.
> Thanks,
> Tom
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/cgi-bin/mailman/listinfo/cs631apue



More information about the cs631apue mailing list