bash function for lowercase and uppercase.