|
From: | James Youngman |
Subject: | [bug #31240] find -exec can't access shell environment (alias or functions) |
Date: | Tue, 05 Oct 2010 22:13:52 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.7 Safari/533.2 |
Update of bug #31240 (project findutils): Status: None => Invalid Assigned to: None => jay Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #1: find -exec is designed not to launch commands via the shell. This is standard feature of all implementations of find, and it's intended that way in order to better handle unusual filenames. You can achieve the effect you want by using sh -c as the 'command' for find -exec and executing your pipeline that way. There are examples of this in the 'Common Tasks' section of the Texinfo documentation. (I'm marking this bug "invalid" because it's not a bug in find.) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?31240> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |