parameters: ()
docstring: Searches the edmpluginFile to find any duplicate
      plugins.
docstring_summary: Searches the edmpluginFile to find any duplicate
      plugins.
docstring_tokens: Searches the edmpluginFile to find any duplicate plugins .
function: def searchDuplicatePlugins ():
      """ Searches the edmpluginFile to find any duplicate
      plugins."""
      edmpluginFile = ''
      libenv = 'LD_LIBRARY_PATH'
      if os.environ.get('SCRAM_ARCH').startswith('osx'): libenv = 'DYLD_FALLBACK_LIBRARY_PATH'
      biglib = '/biglib/'+os.environ.get('SCRAM_ARCH')
      for libdir in os.environ.get(libenv).split(':'):
          if libdir.endswith(biglib): continue
          if os.path.exists(libdir+'/.edmplugincache'): edmpluginFile = edmpluginFile + ' ' + libdir+'/.edmplugincache'
      if edmpluginFile == '': edmpluginFile = os.path.join(os.environ.get('CMSSW_BASE'),'lib',os.environ.get('SCRAM_ARCH'),'.edmplugincache')
      cmd = "cat %s | awk '{print $2\" \"$1}' | sort | uniq | awk '{print $1}' | sort | uniq -c | grep '2 ' | awk '{print $2}'" % edmpluginFile
      output = getoutput (cmd).split('\n')
      for line in output:
          if line in ignoreEdmDP: continue
          line = line.replace("*","\*")
          cmd = "cat %s | grep ' %s ' | awk '{print $1}' | sort | uniq " % (edmpluginFile,line)
          out1 = getoutput (cmd).split('\n')
          print(line)
          for plugin in out1:
              if plugin:
                  print("   **"+plugin+"**")
          print()
function_tokens: def searchDuplicatePlugins ( ) : edmpluginFile = '' libenv = 'LD_LIBRARY_PATH' if os . environ . get ( 'SCRAM_ARCH' ) . startswith ( 'osx' ) : libenv = 'DYLD_FALLBACK_LIBRARY_PATH' biglib = '/biglib/' + os . environ . get ( 'SCRAM_ARCH' ) for libdir in os . environ . get ( libenv ) . split ( ':' ) : if libdir . endswith ( biglib ) : continue if os . path . exists ( libdir + '/.edmplugincache' ) : edmpluginFile = edmpluginFile + ' ' + libdir + '/.edmplugincache' if edmpluginFile == '' : edmpluginFile = os . path . join ( os . environ . get ( 'CMSSW_BASE' ) , 'lib' , os . environ . get ( 'SCRAM_ARCH' ) , '.edmplugincache' ) cmd = "cat %s | awk '{print $2\" \"$1}' | sort | uniq | awk '{print $1}' | sort | uniq -c | grep '2 ' | awk '{print $2}'" % edmpluginFile output = getoutput ( cmd ) . split ( '\n' ) for line in output : if line in ignoreEdmDP : continue line = line . replace ( "*" , "\*" ) cmd = "cat %s | grep ' %s ' | awk '{print $1}' | sort | uniq " % ( edmpluginFile , line ) out1 = getoutput ( cmd ) . split ( '\n' ) print ( line ) for plugin in out1 : if plugin : print ( "   **" + plugin + "**" ) print ( )