m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2022-11-29 15:12:08 +0100
committerMarcin Chrzanowski <m@m-chrzan.xyz>2022-11-29 15:12:08 +0100
commit4ff9c8be33ca5f37411b278c427f81cfec10f23a (patch)
tree9c01da8a0a15f05fdbc6cce279e6158381c6dee1
parent4d1aa07de34616e9c19e53e5643ef56019b7d220 (diff)
Add some text util commands
-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