m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--text-utils.md8
1 files changed, 7 insertions, 1 deletions
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