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

10 lines
81 B
Bash

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