[root@localhost wyb]# cat file 
123 abc 456
456 def 1  23
5678 abc 789
789de f567
[root@localhost wyb]# cat fffile.sh 
#!/bin/bash

cat file|
while read line
do
 for i in `seq 1 ${#line}`
 do
   a=`echo $line|cut -c $i`
   echo -ne "$a"
    sleep 0.1
done
echo " "

done
[root@localhost wyb]# bash fffile.sh 
123 abc 456 
456 def 1 23 
5678 abc 789 
789de f567 
[root@localhost wyb]# 

 

相关文章:

  • 2022-12-23
  • 2021-06-10
  • 2021-12-31
  • 2022-12-23
  • 2021-07-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-05
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2021-09-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案