Serial self map bash function.