PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] No expression
Date: Friday, 11 Sep 2020, 09:15:47


    > Message Posted By: Unknown
    >
    > Running "/c/cs323/Hwk1/fiend" without any arguments seems to print out
    > directories and/or files starting from "." etc. Does this mean that if we
    > don't have an expression, we default to use -print on each file? I wish to
    > check because the spec only says that we default to -print when an
    > expression evaluates to true and doesn't contain an action--thus an empty
    > expression defaults to true?

As stated in the specification,

  If no FILENAMEs are specified, the search is rooted at the current working
  directory (i.e., .).

--Stan-
PREV INDEX NEXT