bugfindutils - Bugs: bug #15271, More misleading error messages

 
 

bug #15271: More misleading error messages

Submitter:  Eric Blake <ericb>
Submitted:  Thu 22 Dec 2005 01:30:41 PM UTC
 
Category:  find Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Eric Blake Open/Closed:  Closed
Release:  4.2.27 Fixed Release:  4.3.1
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

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

4.3.1 has now been released, fixing this problem

James Youngman <jay>
Project Administrator
Sat 05 Aug 2006 05:57:46 PM UTC, comment #2: 

NB: fixed in 4.3.x, not 4.2.x.

James Youngman <jay>
Project Administrator
Fri 23 Dec 2005 04:55:38 PM UTC, comment #1: 

Thanks, all fixed.   Also found a bug in the handling of 'find . \(  -true \) \)' where we coredumped while trying to print an error message.

James Youngman <jay>
Project Administrator
Thu 22 Dec 2005 01:30:41 PM UTC, original submission:  

A couple more misleading messages, even with your latest patches in regards to bug 15195:

currently:
$ find \( -true -a ! \)
find: invalid expression; you have too many ')'

nicer (similar to "find \( -true -a !"):
$ find \( -true -a ! \)
find: expected an expression after '!'

currently:
$ find \(
find: invalid expression; empty parentheses are not allowed.

nicer, option a (similar to "find \( -true"):
$ find \(
find: invalid expression; I was expecting to find a ')' somewhere but did not see one.

nicer, option b (similar to "find !"):
$ find \(
find: expected an expression after '('

Eric Blake <ericb>
Project Administrator

 

(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
2005-12-23 jay StatusNone Fixed
    Assigned toNone jay

Back to the top


Powered by Savane 3.9