while循环
[root@172-25-44-18 day01]# cat as
1
2
3
4
[root@172-25-44-18 day01]# cat sa
a
b
c
d
[root@172-25-44-18 day01]# paste as sa | while read line1 line2;do echo line1+line1+line2;done
1 + a
2 + b
3 + c
4 + d
shell
最新推荐文章于 2023-08-31 21:15:00 发布