[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #20970] Trailing slash on directory arguments breaks -name
From: |
James Youngman |
Subject: |
[bug #20970] Trailing slash on directory arguments breaks -name |
Date: |
Sat, 24 Nov 2007 12:56:19 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071004 Iceweasel/2.0.0.8 (Debian-2.0.0.8-1) |
Follow-up Comment #7, bug #20970 (project findutils):
The interp requires that -name not consider trailing slashes in the filename
(but are considered in the pattern).
The current gnulib last_component() and base_name() functions behave somewhat
differently but in each case they leave one or more trailing slashes. Hence
those functions seem to be unsuitable as-is, at least for sole use in
performing the comparison.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20970>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/