PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] Order of Operations
Date: Friday, 04 Sep 2020, 22:19:09


    > Message Posted By: Unknown
    >
    > Do we have to deal with parentheses for an order of operations?

No.  You need only implement the subset of find given
in the specification.
=====

    >                                                            ...  For
    > example, if I wanted to find the following two groups of files:
    > A) Starts with 't' and ends with '0'
    > B) Ends with '1'
    > I would want to do something like:
    >    ./fiend [location] ( -name 't*' -name '*0' ) -o -name '*1'
    > Does fiend need to deal with this case?

No, but you can achieve the same effect with

  ./fiend  -name 't*' -name '*0' -o -name '*1'
=====

    > Also, if the parentheses weren't there, what would be the order of
    > precedence?

The same as if they were.

--Stan-
PREV INDEX NEXT