Menu

#12 sfind should check the root path's basename for -name

1.0
closed
nobody
None
2019-10-04
2019-05-22
No
$ ./sfind/OBJ/x86_64-linux-gcc/sfind ./sfind/OBJ/ -name OBJ
$ find ./sfind/OBJ/ -name OBJ
./sfind/OBJ/

The POSIX wording for -name is "... if the basename of the current pathname matches pattern ...", but sfind doesn't seem to look at the basename of the root path.

Discussion

  • Jörg Schilling

    Jörg Schilling - 2019-10-04

    Fixed in schily-2019-09-22

     
  • Jörg Schilling

    Jörg Schilling - 2019-10-04
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB