Author: Stan Eisenstat
Subject: Re: [Cs323] -a and true/false for expressions
Date: Friday, 04 Sep 2020, 07:37:31
> Message Posted By: Unknown > > If there are multiple flags in our expression (i.e. -maxdepth and -name), > and no operator is given, do we use -a? Yes. Aside: As you can verify by running Hwk1/fiend or /bin/find, separating the flags by -a gives a warning. ===== > Also, when it says a given tests which can "tests (-name and -newer), > which return true or false", does that mean it returns true or false for > each file/subdirectory that is in the directory? Yes, the tests are evaluated for each file visited. --Stan-PREV INDEX NEXT