Jeff Silverman
2014-08-04 21:37:28 UTC
People,
I am using diff 2.8.1
I have a command which comes in two variants. The command outputs a single
line that is a couple of thousand characters long. The diff command
correctly outputs that the two lines are different, but I would like to
know which characters within the line are different.
I would like you to add a --color switch to make diff output the characters
that are different in different colors, say red for deletions and green for
additions. The diff command would have to sense the terminal type to see
if it is color capable.
Thank you
Jeff
***@sweetlabs.com
I am using diff 2.8.1
I have a command which comes in two variants. The command outputs a single
line that is a couple of thousand characters long. The diff command
correctly outputs that the two lines are different, but I would like to
know which characters within the line are different.
I would like you to add a --color switch to make diff output the characters
that are different in different colors, say red for deletions and green for
additions. The diff command would have to sense the terminal type to see
if it is color capable.
Thank you
Jeff
***@sweetlabs.com
--
*Jeff Silverman*
Systems Engineer
(253) 459-2318 (c)
*Jeff Silverman*
Systems Engineer
(253) 459-2318 (c)