Follow-up Comment #1, bug #38696 (project findutils): That is not a bug in find, but rather a misunderstanding on your side of how the shell handles redirections, e.g. man bash, section REDIRECTION:
"The following redirection operators may precede or appear anywhere within a simple command or may follow a command." I.e., the following commands are identical: $ find . -exec echo test > somefile ; $ find . -exec echo test ; > somefile $ > somefile find . -exec echo test ; In all of the above cases, find will see the same arguments while stdout is redirected to 'somefile'. It is just common habit to place redirections at the end of the command line. Have a nice day, Berny _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?38696> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/