Julian Foad wrote: > Benno Schulenberg wrote: > > $ grep --color "Input [A-Z]\+" file > > Input location is unused > > Input rstn is unused > > Nothing gets printed for me, with grep v2.5.1 or recent CVS. > Perhaps you are using a version of grep with buggy patches > applied?
No, that's not it. It happens both with the installed grep and with a recent CVS version, and for the latter both --with-included-regex and --without-included-regex. But on an Ubuntu install it does not happen. So there's definitely something wrong with my system. If it is the regex code, I guess it should fail for you too when using --with-included-regex. Benno
