Created
November 11, 2016 15:06
-
-
Save childnode/da08e8a6f989ce0f94077ae1a6b1573b to your computer and use it in GitHub Desktop.
cmp any but not cOmpany :D ... just pipe a list of files to it and it compares any to any ... using: cmp of course
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function cmpany { i=(); while read x; do for j in ${i[@]}; do echo "$j vs. $x"; cmp $j $x; done; i+=("$x"); done; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment