str
=
"
AAA BB C
"
for
s
in
$str
;
do
printf
"
%s
"
$s
sleep
1s
printf
"
\r
\1b[K
"
sleep
1s
done
printf
"
\n
"