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

I noticed the patch in comment 2 has the following (in my opinion good) side
effect on the failure message emitted for using the empty string:

$ find-4.2.27 ''
find-4.2.27: invalid predicate `'
$ find ''
find: : No such file or directory

This also means that on non-POSIX platforms, where '' is a synonym for '.'
rather than an invalid name, patched find '' will search the current
directory.  This is the approach taken by coreutils, of deferring the
decision of whether '' is valid to the OS rather than rejecting it outright.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15235>

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



_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to