3 from __future__
import print_function
12 %s [-h] [-s|-e|-c] [-r] [-p pattern] [listofpath] 15 -s: Short format print 16 -e: print Entry names only 17 -c: only Checks duplication of entries 18 -r: print also $ROOTSYS/etc/system.rootmap 19 -p: print only pattern matching (Python style) entries 21 dump rootmap dictionaries informations. If no path is given, the 22 LD_LIBRARY_PATH is used. By default, prints the name of the entry, 23 its corresponding library and its block definition inside the 24 rootmap file(s) on separate lines. The output is sorted according to 25 the name of the entry. A Warning is issued if an entry appears 27 """ % os.path.basename(argv[0]))
30 if __name__ ==
"__main__":
37 opts, args = getopt.getopt(sys.argv[1:],
'hsecrp:')
38 except getopt.GetoptError:
46 printFunc = shortPrintMaps
55 pattern = re.compile(ar)
def getMaps(pathstring="", sysrtmap=False)