Reputation: 3
say I have two files.. file1 & file2, both have different names but the same content inside
I tried comparing them through
[[ file1 = file2 ]]
& using
diff file1 file2
[[ echo $? ]]
however both return false.
Upvotes: 0
Views: 740