import glob


def matching_pathnames(paths):
    """Get list of matching pathnames for the given list of glob patterns."""
    results = []
    for p in paths:
        results.extend(glob.glob(p, recursive=True))
    return results