>From the manual page (man grep): "grep, egrep, fgrep, rgrep - print lines matching a pattern". If I understand correctly, the behavior you are observing is correct. You might want to take a look at the different options (like `-o'), or use a general purpose regular expression implementation.
** Changed in: grep (Ubuntu) Status: New => Invalid -- grep "^[A-Z]" does not work https://bugs.launchpad.net/bugs/585817 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs