i-bash/tests/ifs-2.test

10 lines
82 B
Text
Raw Normal View History

1996-08-26 18:22:31 +00:00
OIFS=$IFS
IFS=":$IFS"
foo=$(echo a:b:c)
IFS=$OIFS
for i in $foo
do
echo $i
done