How to obtain the first letter in a Bash variable? word=something first=${word::1} word="tiger" firstletter=${word:0:1}