I would like to make a suggestion for the diff command.
Jeff Silverman <[email protected]>
| Newsgroups | gmane.comp.gnu.utils.bugs |
|---|---|
| Message-ID | <CAObtcxWyEV1z_vNeYxYTyzx3=qCfn1+s-uQyQzt9Ug72W6-Yvg@mail.gmail.com> |
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 [email protected] -- *Jeff Silverman* Systems Engineer (253) 459-2318 (c)