saya sudah file1.txt
this is the original text
line2
line3
line4
happy hacking !
dan file2.txt
this is the original text
line2
line4
happy hacking !
GNU is not UNIX
jika saya lakukan: diff file1.txt file2.txt
saya mendapatkan:
3d2
< line3
5a5
> GNU is not UNIX
Bagaimana hasil interpretasi secara umum? Saya berpikir bahwa <
berarti dihapus tapi apa 3d2
atau 5a5
artinya?
Jika aku melakukan:
$ diff -u file1.txt file2.txt
--- file1.txt 2013-07-06 17:44:59.180000000 +0200
+++ file2.txt 2013-07-06 17:39:53.433000000 +0200
@@ -1,5 +1,5 @@
this is the original text
line2
-line3
line4
happy hacking !
+GNU is not UNIX
Hasilnya lebih jelas tetapi apa @@ -1,5 +1,5 @@
artinya?