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