|
From: | James Youngman |
Subject: | [bug #35528] manual/html_mono/find.html#Single-File: -exec is mentioned where -execdir is correct |
Date: | Sun, 18 Nov 2012 15:39:43 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11 |
Update of bug #35528 (project findutils): Severity: 3 - Normal => 2 - Minor Status: None => Confirmed Assigned to: None => jay _______________________________________________________ Follow-up Comment #2: Actually not; the current source in thr git repo says this: Execute command; true if zero status is returned. find takes all arguments after ‘-execdir’ to be part of the command until an argument consisting of ‘;’ is reached. It replaces the string ‘{}’ by the current file name being processed everywhere it occurs in the command. Both of these constructions need to be escaped (with a ‘\’) or quoted to protect them from expansion by the shell. The command is executed in the directory in which find was run. However the online version does need to be updated. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?35528> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |