bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #4298] find -regex is either not working properly or not documented


From: nobody
Subject: [bug #4298] find -regex is either not working properly or not documented properly
Date: Sun, 13 Jul 2003 07:00:58 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021213 Debian/1.2.1-2.bunk

=================== BUG #4298: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4298&group_id=61

Submitted by: ametzler                Project: findutils                    
Submitted on: Sun 07/13/2003 at 11:00
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Originator Name:                      
Originator Email:                     Status:  Open                         
Release:  None                        Fixed Release:  None                  

Summary:  find -regex is either not working properly or not documented properly

Original Submission:  
Version: 4.1.20

Quoting from http://bugs.debian.org/162838 submitted by Thomas Themel:
------------------------------------------
The man page for find does not document the syntax of regular expressions 
supported by -regex. Since -regex is not part of the POSIX syntax, it seems to 
be non-obvious which regex syntax is supported.

The man page lists the info page as a reference, and the info description of 
-regex references a node '(emacs) Regexps'. The corresponding info node 
describes a pretty advanced Regexp syntax which is not implemented by find.

An example:

#v+
bash-2.05b$ ls -l
-rw-------    1 themel   themel          0 Sep 30 12:57 aaaa
-rw-------    1 themel   themel          0 Sep 30 12:57 a{4}
bash-2.05b$ find . -regex './a{4}'
./a{4}
bash-2.05b$ find . -regex './a{4}'
./a{4}
#v-
------------------------------------------

I've verified that this still applies to 4.1.20.
             cu andreas



No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4298&group_id=61

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]