bugfindutils - Bugs: bug #16269, The manual gives an incorrect...


bug #16269: The manual gives an incorrect example

Submitted by:  None
Submitted on:  Wed 05 Apr 2006 07:35:24 AM UTC  
Category:  documentation Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  James Youngman <jay>
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed Release:  4.3.1

Add a New Comment (Rich Markup)

You are not logged in

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


Mon 07 Aug 2006 09:44:58 AM UTC, comment #3: 

4,3,1 has now been released, fixing this problem.

James Youngman <jay>
Project AdministratorIn charge of this item.
Thu 15 Jun 2006 08:20:08 AM UTC, comment #2: 

Thanks.  I've now fixed this in the 4.3.x CVS code.

This problem is fixed in the CVS code for findutils.
To resolve your problem, you could either wait for the
next official release of findutils, or check out a copy
of the code from the CVS repository for findutils.

James Youngman <jay>
Project AdministratorIn charge of this item.
Wed 05 Apr 2006 09:41:48 AM UTC, comment #1: 

By 'manual' I mean the man page you get when you type

man find.

Laura (lac@strakt.com)

Wed 05 Apr 2006 07:35:24 AM UTC, original submission:  

The manuals states:
       $ find . -name *.c -print
       find: paths must precede expression
       Usage: find [-H] [-L] [-P] [path...] [expression]

       This happens because *.c has been expanded by the  shell  resulting  in
       find actually receiving a command line like this:

       find . -name bigram.c code.c frcode.c locate.c -print

       That  command  is of course not going to work.  Instead of doing things
       this way, you should enclose the pattern in quotes:
       $ find . -name ´*.c´ -print


Those are the wrong sort of quotes.  You want
find . -name '*.c' -print




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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


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 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-08-07 jay Open/ClosedOpen => Closed
    Fixed ReleaseNone => 4.3.1
2006-06-15 jay Assigned toNone => jay
2006-06-15 jay StatusNone => Fixed

Back to the top

Powered by Savane 3.5