It splits down $REPLY into tokens and put them into $@ (arguments)
$REPLY
is the implicit target for while read
expression. But do remember that using while read
with implicit target is a bash-ism and it's supported in e.g. ash
(but supported in zsh
). Better use while read REPLY