[Bug 585648] Re: find regex does not work properly
Stefan Wagner
hirnstrom at arcor.de
Sun May 21 02:42:40 UTC 2017
Not a bug, see comment #1.
** Changed in: findutils (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to findutils in Ubuntu.
https://bugs.launchpad.net/bugs/585648
Title:
find regex does not work properly
Status in findutils package in Ubuntu:
Invalid
Bug description:
Binary package hint: findutils
I would appear to be a similar bug to #58883
Some have said this isn't a bug at all but here goes.
When in an empty directory using gnome-terminal:
user at ubuntukarmic:~/f/Desktop/test$ touch {A..Z}
user at ubuntukarmic:~/f/Desktop/test$ touch {a..z}
user at ubuntukarmic:~/f/Desktop/test$ ls
a b c d e f g h i j k l m n o p q r s t u v w x y z
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
user at ubuntukarmic:~/f/Desktop/test$ find . \! -regex '.*[A-Z].*' | sort
.
./a
user at ubuntukarmic:~/f/Desktop/test$ env | grep -i lang
LANG=en_US.UTF-8
GDM_LANG=en_US.UTF-8
user at ubuntukarmic:~/f/Desktop/test$ LANG=C
user at ubuntukarmic:~/f/Desktop/test$ find . \! -regex '.*[A-Z].*' | sort
.
./a
./b
./c
./d
./e
./f
./g
./h
./i
./j
./k
./l
./m
./n
./o
./p
./q
./r
./s
./t
./u
./v
./w
./x
./y
./z
user at ubuntukarmic:~/f/Desktop/test$ find -version
find (GNU findutils) 4.4.2
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Built using GNU gnulib version e5573b1bad88bfabcda181b9e0125fb0c52b7d3b
Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS() CBO(level=0)
This is further discussed at
http://ubuntuforums.org/showthread.php?t=1488843
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/585648/+subscriptions
More information about the foundations-bugs
mailing list