When using the --color option of grep, if the final character matching your grep pattern is on the final column of the terminal, then the character is not displayed. For example:

 

 

If I make the terminal 1 character wider or narrower, the line and the colored pattern are printed correctly.

 

 

Jason Thurman
General Motors
28405 Van Dyke Avenue
Warren, MI 48093-7132
Cell: +1 (586) 634-4132
Email: jason.thurman@gm.com

 



Nothing in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message.

Confidentiality Note: This message is intended only for the person or entity to which it is addressed. It may contain confidential and/or privileged material. Any review, transmission, dissemination or other use, or taking of any action in reliance upon this message by persons or entities other than the intended recipient is prohibited and may be unlawful. If you received this message in error, please contact the sender and delete it from your computer.