Using the read BASH builtin to capture variables from a line

Jurjen Bokma

January 2010


I keep having to look this up at the bash-hackers.org wiki:

LINE="aap:noot:mies"
read A B C <<< "${LINE}"