#!/usr/bin/env python # This helper script is used by go.csh to find the # appropriate bookmark from a data file. import sys from header import getbkmark print getbkmark(sys.argv[1],sys.argv[2])
#!/usr/bin/env python # This script is used to match case for input arguments. It is # used by go.csh to attempt to find a proper match for a user's # input directory name. All the real work happens in the # header.py file. import os,sys,header if __name__ == "__main__": junk = header.do_match(sys.argv[1]) if junk == '__nomatch__': junk = header.getbkmark(header.bookdata,sys.argv[1]) print junk