how to write a process-pool bash shell how to write a process-pool bash shell bash bash