Bash Here String
A here string (<<<) gives a command one string as its input.
It is a short way to write echo "text" | command, and it also works with read, which a pipe does not.
Count words in a string
wc -w <<< "one two three"
3
Split a string with read
read first last <<< "Tove Olsen"
echo "$last"
Olsen