Package: grep Followup-For: Bug #579821 Dear Maintainer,
inside [], '-' separates ranges, unless it is the first or last thing in []. Ex : [-ac] means '-', 'a' or 'c', whereas [a-c] means 'a', 'b' or 'c'. Thus [\-.] is a range (for example it matchs '[' or '@'). Beware ranges may depend on your local. grep does not authorize reversed ranges anymore, for consistency (see http://git.savannah.gnu.org/gitweb/?p=grep.git;a=blob;f=tests/reversed-range-endpoints;h=e80c07a0cc9ce4b6b433b0c3591d28e7d5002e17;hb=159c02545be1bd4342d27c7ea5b9d06459d3c8aa ) ($ echo "hello"| grep "[c-a]" => grep: Invalid range end, whereas "a-c" works as expected). Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages grep depends on: ii dpkg 1.16.4.3 ii install-info 4.13a.dfsg.1-10 ii libc6 2.13-33 grep recommends no packages. Versions of packages grep suggests: ii libpcre3 1:8.30-5 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org