PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] negative -maxdepth
Date: Wednesday, 16 Sep 2020, 07:26:30


    > Message Posted By: Unknown
    >
    > In the HW walkthrough, I think it was mentioned that maxdepth can be -1? I
    > didn't find anything about this on the man page, though.
    ...
    > Message Posted By: Unknown
    >
    > Can maxdepth be negative? I think it may have been mentioned that maxdepth
    > = -1 has a meaning, but I couldn't find anything about it.

As can be verified by running Hwk1/fiend or /bin/find
and is stated in the revised specification

  # -maxdepth N limits the traversal to depth N (N is a sequence of digits); |

--Stan-
PREV INDEX NEXT