3 ms·
Are you on a *nix system? It likely has the `diff` command already installed. $ cat one.txt Hello, I love you, won't you tell me your name? Hello, I love
by dotancohen 3y ago
Are you on a *nix system? It likely has the `diff` command already installed.
$ cat one.txt
Hello, I love you, won't you tell me your name?
Hello, I love you, let me jump in your game.
Hello, I love you, won't you tell me your name?
Hello, I love you, let me jump in your game.
$ cat two.txt
Hello, I love you, won't you tell me your name?
Hello, I love you, let me jump in your game.
Hello, I love you, won't you tell me I'm lame?
Hello, I love you, let me jump in your game.
$ diff one.txt two.txt
--- one.txt 2023-08-29 19:40:26.777082478 +0300
+++ two.txt 2023-08-29 19:40:43.773040158 +0300
@@ -1,4 +1,4 @@
Hello, I love you, won't you tell me your name?
Hello, I love you, let me jump in your game.
-Hello, I love you, won't you tell me your name?
+Hello, I love you, won't you tell me I'm lame?
Hello, I love you, let me jump in your game.
In the terminal there is colour highlighting, it is much easier to see.