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

 
 

bug #16269: The manual gives an incorrect example

Submitter:  None
Submitted:  Wed 05 Apr 2006 07:35:24 AM UTC
   
 
Category:  documentation Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed Release:  4.3.1
* Mandatory Fields

Add a New Comment Rich Markup
   

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

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

James Youngman <jay>
Group administrator
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>
Group administrator
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)

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

The manuals states:
NON-BUGS
       $ 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

instead.

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

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

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.13-02a9.
Corresponding source code