#!/bin/bash
for a in ` cat tihuan-IMID-suiji.txt `
do
被替换内容 被替换内容
sed -i "1,/21001035/s/21001035/$a/" tihuan.txt
done
时间: 2024-10-07 12:39:37
#!/bin/bash
for a in ` cat tihuan-IMID-suiji.txt `
do
被替换内容 被替换内容
sed -i "1,/21001035/s/21001035/$a/" tihuan.txt
done