Bash Find A Character Position In A String