13 from __future__
import print_function
22 %s [-h] [-s|-e|-c] [-r] [-p pattern] [listofpath] 25 -s: Short format print 26 -e: print Entry names only 27 -c: only Checks duplication of entries 28 -r: print also $ROOTSYS/etc/system.rootmap 29 -p: print only pattern matching (Python style) entries 31 dump rootmap dictionaries informations. If no path is given, the 32 LD_LIBRARY_PATH is used. By default, prints the name of the entry, 33 its corresponding library and its block definition inside the 34 rootmap file(s) on separate lines. The output is sorted according to 35 the name of the entry. A Warning is issued if an entry appears 37 """ % os.path.basename(argv[0]))
40 if __name__ ==
"__main__":
47 opts, args = getopt.getopt(sys.argv[1:],
'hsecrp:')
48 except getopt.GetoptError:
56 printFunc = shortPrintMaps
65 pattern = re.compile(ar)
def getMaps(pathstring="", sysrtmap=False)