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: documentationSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 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)

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 File(s):
   
   
Comment:
   

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 click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 07 Aug 2006 09:44:58 AM UTCjayOpen/ClosedOpen=>Closed
  Fixed ReleaseNone=>4.3.1
Thu 15 Jun 2006 08:20:26 AM UTCjayAssigned toNone=>jay
Thu 15 Jun 2006 08:20:08 AM UTCjayStatusNone=>Fixed

Back to the top


Powered by Savane 3.1-cleanup1