[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #21373] [Feature req] Option to manipulate paths before {} expansio
From: |
anonymous |
Subject: |
[bug #21373] [Feature req] Option to manipulate paths before {} expansion. |
Date: |
Fri, 19 Oct 2007 09:39:23 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20060601 Firefox/2.0.0.6 (Ubuntu-edgy) |
URL:
<http://savannah.gnu.org/bugs/?21373>
Summary: [Feature req] Option to manipulate paths before {}
expansion.
Project: findutils
Submitted by: None
Submitted on: Friday 10/19/2007 at 09:39 UTC
Category: find
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Peter Mogensen
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.27
Fixed Release: None
_______________________________________________________
Details:
When using -exec {}, find replaces {} with either an absolute path or a path
relative to the current directory. Some times you need a path relative to the
subdirectory you're searching in.
Example:
Your say
find ./lib -name '*.pm' -exec ... {} \;
And you need {} to expand to:
Text/Glyffer.pm
XML/Paffer.pm
And not to:
./lib/Text/Glyffer.pm
./lib/XML/Paffer.pm
An option like the -p for the patch program to control {} expansion would be
nice.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?21373>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #21373] [Feature req] Option to manipulate paths before {} expansion.,
anonymous <=