Diff vs Grep - What's the difference?
diff | grep |
(slang)
(computing) Any program which compares two files or sets of files and outputs a description of the differences between them.
(computing) The output of a diff program. A diff file.
* 2004 , , Great Hackers ,
(medicine) : differential of types of white blood cell in a complete blood count.
(slang)
(rock climbing) A difficult route.
(computing) To run a diff program on (files or items) so as to produce a description of the differences between them, as for a patch file.
(computing) To compare two files or other objects, manually or otherwise.
(computing) A program, historically part of the Unix operating system, which compares two files or sets of files and outputs a description of the differences between them.
To use a program such as grep to search in a file.
By extension, to search anything (perhaps a paper document by eye).
As verbs the difference between diff and grep
is that diff is to run a diff program on (files or items) so as to produce a description of the differences between them, as for a patch file while grep is to use a program such as grep to search in a file.As proper nouns the difference between diff and grep
is that diff is a program, historically part of the Unix operating system, which compares two files or sets of files and outputs a description of the differences between them while grep is a program which selects lines in a file which match a given pattern.As a noun diff
is abbreviation of lang=en.diff
English
Noun
(en noun)- A peach and an apricot? What's the diff ?
Essay:
- I didn't want to waste people's time telling them things they already knew. It's more efficient just to give them the diffs .
