[[email protected] wyb]# cat file 123 abc 456 456 def 1 23 5678 abc 789 789de f567 [[email protected] 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 [[email protected] wyb]# bash fffile.sh 123 abc 456 456 def 1 23 5678 abc 789 789de f567 [[email protected] wyb]#
时间: 2024-10-11 06:20:40