bug-findutils
[Top][All Lists]
Advanced

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

[bug #28237] strange behavior (maybe a bug, maybe not...) [needs better


From: Antonio
Subject: [bug #28237] strange behavior (maybe a bug, maybe not...) [needs better explanation of the problem]
Date: Sun, 11 Apr 2010 15:59:11 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.7) Gecko/2009032803 Iceweasel/3.0.6 (Debian-3.0.6-1)

Follow-up Comment #3, bug #28237 (project findutils):

sorry... maybe i'm on error... this is a very simple example

$ mkdir new$'n'line
$ touch new$'n'line/new$'n'line

I have created one directory and one file with a newline inside the name

$ find . -name "new*"
./new?line
./new?line/new?line

find finds both, dir and file, as expected


$ find . -regextype egrep -regex ".*new.*"

find finds nothing...
but I expected find finds the same as above


$ find . -regextype egrep -regex ".*[[:cntrl:]].*"
./new?line

using [[:cntrl:]] find finds the directory, but it does not descend on it

again, I expected as above



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28237>

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





reply via email to

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