bugfindutils - Bugs: bug #28824, incorrect error message on invalid...

 
 

bug #28824: incorrect error message on invalid argument

Submitted by:  Andreas Metzler <ametzler>
Submitted on:  Fri 05 Feb 2010 06:50:41 PM UTC  
 
Category:  find Severity:  3 - Normal
Item Group:  Wrong result Status:  Fixed
Privacy:  Public Assigned to:  James Youngman <jay>
Originator Name:  Marc Lehmann Open/Closed:  Closed
Release:  4.4.2 Fixed Release:  4.5.6b

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 20 Feb 2010 07:32:53 PM UTC, comment #2:

Fixed in 4.4.x branch.
Fixed in 4.5.x branch.

James Youngman <jay>
Project AdministratorIn charge of this item.
Sat 06 Feb 2010 03:19:21 PM UTC, comment #1:

This is not specific to -(a|m|c)time:

ametzler@argenau:/tmp/FIND$ find /tmp/ -links aas
find: missing argument to `-links'
ametzler@argenau:/tmp/FIND$ find /tmp/ -gid ghhg
find: missing argument to `-gid'
ametzler@argenau:/tmp/FIND$ find /tmp/ -cmin x
find: missing argument to `-cmin'

Andreas Metzler <ametzler>
Fri 05 Feb 2010 06:50:41 PM UTC, original submission:

(SID)ametzler@argenau:~$ find /tmp/ -ctime x
find: missing argument to `-ctime'
(SID)ametzler@argenau:~$ find --version
find (GNU findutils) 4.4.2

This is non-ancient breakage and also applies to GIT head. (both oldfind and find). It was introduced in 4.3.6, earlier versions are fine:

findutils_4.2.33-1/usr/bin/find: invalid argument `x' to `-ctime'
findutils_4.3.5-1/usr/bin/find: invalid argument `x' to `-ctime'
findutils_4.3.6-1/usr/bin/find: missing argument to `-ctime'
findutils_4.3.8-1/usr/bin/find: missing argument to `-ctime'
[...]

The issue was reported by Marc Lehmann in http://bugs.debian.org/568490

cu andreas

Andreas Metzler <ametzler>

 

(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 (Updated 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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-03-31 jay Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.5.6b
    2010-02-20 jay StatusIn Progress => Fixed
    2010-02-20 jay StatusNone => In Progress
        Assigned toNone => jay
    2010-02-06 ametzler Carbon-CopyRemoved 20807 => -
    2010-02-05 ametzler Carbon-CopyRemoved 20807 => -

    Back to the top


    Powered by Savane 3.3