diff
E299204
diff is a command-line utility that compares files line by line and reports their differences, commonly used in Unix-like systems for source code and text file comparison.
All labels observed (1)
| Label | Occurrences |
|---|---|
| diff canonical | 1 |
Statements (50)
| Predicate | Object |
|---|---|
| instanceOf |
Unix command
ⓘ
command-line utility ⓘ file comparison tool ⓘ |
| availableIn |
GNU Diffutils
ⓘ
surface form:
GNU diffutils
core Unix utilities ⓘ |
| category |
software development tool
ⓘ
text processing tool ⓘ |
| input |
directories
ⓘ
two files ⓘ |
| license |
GNU General Public License
ⓘ
surface form:
GNU General Public License (GNU implementation)
|
| maintainer |
Free Software Foundation
ⓘ
surface form:
Free Software Foundation (GNU implementation)
|
| operatingSystem |
BSD
ⓘ
Linux ⓘ Unix ⓘ Unix-like systems ⓘ macOS ⓘ |
| output |
edit script to transform one file into another
ⓘ
textual representation of differences ⓘ |
| platform | command-line interface ⓘ |
| primaryFunction |
compare files line by line
ⓘ
report differences between files ⓘ |
| relatedTo |
cmp
ⓘ
git diff ⓘ patch ⓘ sdiff ⓘ |
| standard | POSIX ⓘ |
| supportsOption |
--brief
ⓘ
--new-file ⓘ --recursive ⓘ --strip-trailing-cr ⓘ -B ⓘ -b ⓘ -c ⓘ -i ⓘ -q ⓘ -r ⓘ -u ⓘ -w ⓘ |
| supportsOutputFormat |
RCS format
ⓘ
context format ⓘ ed script format ⓘ normal format ⓘ side-by-side format ⓘ unified format ⓘ |
| typicalUse |
source code comparison
ⓘ
text file comparison ⓘ |
| usedFor |
code review
ⓘ
debugging changes in files ⓘ generating patches ⓘ version control ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.