Follow-up Comment #3, bug #20970 (project findutils):

More points of reference, seeing how coreutils handles extra trailing slashes
(and adding the coreutils list for comments):

$ mkdir -p dir/subdir
$ touch q r
$ mv -v q r dir////
`q' -> `dir/q'
`r' -> `dir/r'
$ # built names were compressed

$ ls -d dir////
dir/////
$ # command line args were listed as typed

$ ls -R dir////
dir////:
q  r  subdir/

dir/subdir:
$ # again, command line arg as is, built names compressed

Given that behavior, then perhaps this should happen:

$ find dir////
dir////
dir/q
dir/r
dir/subdir


And if that is the case, then "find foo// -wholename foo/" would not match,
but "find foo// -wholename foo/*" would match everything, and "find foo//
-wholename foo//*" would only match "foo//".


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?20970>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to