PREV INDEX NEXT

Author: Unknown
Subject: -name wildcard
Date: Thursday, 17 Sep 2020, 02:06:08

In one of your posts about wildcard characters, you mentioned:
=====
And for
   
    % ./fiend . -name X*
   
  it replaces X* by a list of all such files whose names
  begin with X.  But if there are no such files, then the
  command is equivalent to
   
    % ./fiend . -name
   
  which should result in an error message.
=====
However, when I run /c/cs323/Hwk1/fiend . -name X* in a directory with no files beginning with X, it simply has no output. Is this the correct behavior, or should there be a "missing argument to name" type of error?
PREV INDEX NEXT