Gnu comm: Revision history

From wikinotes

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

26 August 2023

  • curprev 20:4720:47, 26 August 2023Will talk contribs 497 bytes +497 Created page with "<code>comm</code> lets you operate on differences between two files.<br> ex. * only lines that appear in file1 * only lines that appear in file2 * only lines that appear in both file1 and file2 = Usage = <blockquote> <syntaxhighlight lang="bash"> comm -1 file1.txt file2.txt # only lines unique to first file comm -2 file1.txt file2.txt # only lines unique to second file comm -3 file1.txt file2.txt # only lines shared by both first/second file </syntaxhighlight> </blo..."