By default, read reads a single line and splits it into variables on spaces or tabs. Alternatively, a null character or a maximum number of characters can be used to terminate the input, and other delimiters can be given.
スペースorタブ区切りでreadの変数を分けることができる
echo "xx yy" | while read name value set -x $name $value end echo $xx