General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Anony Mousse
DistroTube
comments
Comments by "Anony Mousse" (@anon_y_mousse) on "Three Amazingly Useful Linux Commands (cmp, diff, tput)" video.
I kind of like seeing the "quiet" output from diff. Usually when I want to see if two text files are the same I use `diff -saq $x $y`. If I were using it in a script I'd probably just case match on the last word, "identical" versus "differ". Although, admittedly that wouldn't be very fast since the return value from the program is much faster to compare.
1