anchor.diff:  %% Internal functions
   %%====================================================================
   
  +%% Predicate that uses the O/S supplied "file" command to determine if a given filename is an
  +%% executable
  +is_binary_file(Filename) ->
  +    FileType = os:cmd(io_lib:format("file -b ~s", [Filename])),
  +    lists:any(fun(Regex) ->
  +                      case regexp:match(FileType, Regex) of
  +                          nomatch -> false;
  +                          {match, _, _} -> true
  +                      end
  +              end, ?BINARY_FILE_REGEX).
  +                              
  +
  +
  +                           
  
positive.code: 		    []    -> false;
  		    [_|_] -> true
  		end
  	end
      ]).
  		
  is_package_a_release(PackageDir) ->
  
negative.code: %% Macros
  %%--------------------------------------------------------------------
  -define(BINARY_FILE_EXTENSIONS, ["cmx","py","c","bat","exe","so"]).
  
  %% List of regexs that are compared against the output of the "file" command to determine if a
  %% given file is a "binary" file or not
  -define(BINARY_FILE_REGEX, [ "executable",
                               "shell script",
                               "shared object",
                               "dynamically linked" ]).
  
  
  %%--------------------------------------------------------------------
  %% Include files
  