首页
技术
登录
6mi
u
盘
搜
搜 索
技术
temp
temp
技术
2025-07-08
15
# 双层while循环,遍历比较
fileNumber
=
100
#总文件数量
i
=
1
while
((
$i
<
$fileNumber
))
do
j
=
$
[
$i
+1
]
while
((
$j
<=
$fileNumber
))
;
do
echo
"compare
$i
.txt and
$j
.txt"
>>
result.txt
#比较文件的操作
let
j++
done
let
i++
done
转载请注明原文地址:https://ipadbbs.8miu.com/read-57868.html
最新回复
(
0
)