bash generate pac