Some bash foo