Partition bash scripts