Files
bash/tests/ifs-test-2.sh
T

10 lines
82 B
Bash

OIFS=$IFS
IFS=":$IFS"
foo=$(echo a:b:c)
IFS=$OIFS
for i in $foo
do
echo $i
done