Bash script to check for exclusivity of content of given files