From 4ff9c8be33ca5f37411b278c427f81cfec10f23a Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Tue, 29 Nov 2022 15:12:08 +0100 Subject: Add some text util commands --- text-utils.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/text-utils.md b/text-utils.md index ed1e113..eb801e7 100644 --- a/text-utils.md +++ b/text-utils.md @@ -24,6 +24,12 @@ Assumes files are sorted. Suppress a column with e.g. `-1`. -### Intersection of two files +So intersection of two files: comm -12 file1 file2 + +## `diff` + +Side by side: + + diff -y -- cgit v1.2.3