mac bash unexpected end of file | OKKY Q&A