[CentOS] How to test for '.' in a script