PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] -depth issues warning
Date: Sunday, 13 Sep 2020, 10:02:21


    > Message Posted By: Unknown
    >
    > [...@frog hw1]$ /c/cs323/Hwk1/fiend test -print -print -depth
    > fiend: -depth follows non-option
    > test/test.c
    > test/test.c
    > test/test/test.c
    > test/test/test.c
    > test/test
    > test/test
    > test/linktest
    > test/linktest
    > test
    > test
    >
    > Quote: "Issue a warning (a one-line message to stderr) but not exit when
    > -depth or -maxdepth appears after the first test, action, or operator."
    >
    > It seems -depth is after the second action (both first and second action
    > is -print), after 0 test, after 0 operator. I am not sure why it still
    > issues warning

Because "after the first" does not mean "immediately after
the first".

--Stan-
PREV INDEX NEXT