mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-28 13:24:53 +02:00
colordiff: add page
This commit is contained in:
parent
30c0cd3d4e
commit
6d5b7636d6
1 changed files with 25 additions and 0 deletions
25
pages/common/colordiff.md
Normal file
25
pages/common/colordiff.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# colordiff
|
||||
|
||||
> A tool to colorize diff diff output.
|
||||
> The Perl script colordiff is a wrapper for `diff` and produces the same output but with pretty 'syntax' highlighting. Colour schemes can be customized..
|
||||
> More information: <https://github.com/kimmel/colordiff>.
|
||||
|
||||
- Compare files:
|
||||
|
||||
`colordiff {{file-1}} {{file-2}}`
|
||||
|
||||
- Compare files, output in two columns:
|
||||
|
||||
`colordiff -y {{file-1}} {{file-2}}`
|
||||
|
||||
- Compare files, Ignore case differences in file contents:
|
||||
|
||||
`colordiff -i {{file-1}} {{file-2}}`
|
||||
|
||||
- Compare files, Report when two files are the same:
|
||||
|
||||
`colordiff -s {{file-1}} {{file-2}}`
|
||||
|
||||
- Compare files, ignoring white spaces:
|
||||
|
||||
`colordiff -w {{old_file}} {{new_file}}`
|
Loading…
Add table
Reference in a new issue