bugfindutils - Bugs: bug #43507, find fails on -exec, -execdir,...

 
 

bug #43507: find fails on -exec, -execdir, -ok, -okdir

Submitted by:  None
Submitted on:  Fri 31 Oct 2014 07:09:08 AM UTC  
 
Category:  find Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  James Youngman <jay>
Originator Name:  Mike TW Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  4.4.2
Fixed Release:  None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 02 Nov 2014 04:02:14 PM UTC, comment #2:

Andreas is correct.

James Youngman <jay>
Project AdministratorIn charge of this item.
Fri 31 Oct 2014 05:30:16 PM UTC, comment #1:

On 2014-10-31 anonymous <INVALID.NOREPLY@gnu.org> wrote:

> <http://savannah.gnu.org/bugs/?43507>

[...]

> The find(1) manpage supplies in the EXAMPLES section the example


> $ find . -type f -exec file '{}'\;
> find: missing argument to `-exec'


> It happens on three different hosts (all Slackware 14.1) with Linux kernel
> versions 3.10.17, 3.15.10 and 3.17.1 respectively, and whether the user has a
> .bash_profile or not.


You are missing the space between '{}' and \;. - The manpage has it.

cu Andreas

Andreas Metzler <ametzler>
Fri 31 Oct 2014 07:09:08 AM UTC, original submission:

I must be doing something wrong, findutils-4.4.2 is not new and I find no such complaint regarding find/findutils on the Web.

This happens with both a 4.4.2 binary from the GNU/Linux distribution and a fresh compile of findutils-4.4.2.tar.gz obtained from ftp.gnu.org.

The find(1) manpage supplies in the EXAMPLES section the example

$ find . -type f -exec file '{}'\;
find: missing argument to `-exec'

It happens on three different hosts (all Slackware 14.1) with Linux kernel versions 3.10.17, 3.15.10 and 3.17.1 respectively, and whether the user has a .bash_profile or not.

As noted in the subject line, it's not only -exec that fails in this way.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-11-02 jay StatusNone => Invalid
        Assigned toNone => jay

    Back to the top


    Powered by Savane 3.3