[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #15235] Leading directories are misparsed as expressions
From: |
Eric Blake |
Subject: |
[bug #15235] Leading directories are misparsed as expressions |
Date: |
Mon, 19 Dec 2005 07:06:21 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 |
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/