When grep was used, the part of the chosen data isn't indicated. Reproducible: Always Steps to Reproduce: 1 This phenomenon is observed only by reported data. 2.grep execute with --color=auto or --color=always 3.An end of chosen data isn't indicated. 4.command is echo 'Jan 27 09:55:27 chez sm-mta[19491]: m0R0tImK019491: from=<mc@ipwap.org>, size=2633, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=[217.174.106.9]'|/bin/grep --color=auto 217.174.106.9 Actual Results: Jan 27 09:55:27 chez sm-mta[19491]: m0R0tImK019491: from=<mc@ipwap.org>, size=2633, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=[217.174.106.] ******** last octet of IP isn't displaied *********** Expected Results: Jan 27 09:55:27 chez sm-mta[19491]: m0R0tImK019491: from=<mc@ipwap.org>, size=2633, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=[217.174.106.9] It occurs only by the following data. 'Jan 27 09:55:27 chez sm-mta[19491]: m0R0tImK019491: from=<mc@ipwap.org>, size=2633, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=[217.174.106.9]' grep and pcre version are sys-apps/grep-2.5.1a-r1 USE="nls pcre -static" dev-libs/libpcre-7.4 USE="unicode -doc" This phenomenon is reproduced by more than one computer. (kernel is 2.6.23-gentoo-r6 and 2.6.24-gentoo)
WFM... post your emerge --info.
sorry, this wasn't a problem of grep. A problem of termminal display. There was a person who points out a problem of TERMINAL.(i used ktern) Then I checked terminal. From the result, When next characters are displaied, The last 1 character of 13 characters circled by esp sequence isn't displaied. echo -e '...135 any characters...\033[1;31m..13 char...\033[0m\033[K' I thought troubled characters are displaied as follows; '..135 any characters...\033[1;31mxxx.xxx.xxx.9\033[0m\033[K]' then last '9' is not disolaied. There is cause in the environment of kterm or my computer. I do wrong comment and am very sorry.