From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2 i686)
Description of problem:
Problem Explanation: The Character ']' cannot be used inside a character
list. The GNU documentation says that to use this in a character list, put
it in the beginning of the list. The same is the observation for '^'
character.(which the doc says should in anywhere but first)
BTW, the same command works fine in solaris.
Steps to Reproduce:
1. grep -E 'a]' <file> where file contains a ] charater somewhere
2. Also, please make sure the line that contains the char ] does *not*
Actual Results: Does not print the line containing the ]
Expected Results: It should print the line containing a ]
grep version number 2.4.2
Fixed in 2.4.2-7