多帐号相互助力

This commit is contained in:
chenyingzhou
2021-02-04 11:56:12 +08:00
parent 24a2314fe7
commit fefeca9386
10 changed files with 123 additions and 4 deletions

View File

@@ -12,8 +12,6 @@ jdfruit="${logdDir}/jd_fruit.log"
jdpet="${logdDir}/jd_pet.log"
jdcrazyJoy="${logdDir}/jd_crazy_joy.log"
echo -e >$sharecodeFile
sed -n '/京东赚赚好友互助码】.*/'p $jdzzFile | awk '{print $4,$5}' | sort | uniq >>$sharecodeFile
echo "提取京东赚赚助力码完成"
@@ -35,6 +33,12 @@ echo "提取东东萌宠助力码完成"
sed -n '/crazyJoy任务好友互助码】.*/'p $jdcrazyJoy | awk '{print $4,$5}' | sort | uniq >>$sharecodeFile
echo "提取crazyJoy任务助力码完成"
cp $sharecodeFile ${sharecodeFile}.tmp
sed -i 's/ //' ${sharecodeFile}.tmp
cat ${sharecodeFile}.tmp | sort | uniq >$sharecodeFile
rm ${sharecodeFile}.tmp
echo "互助码排序和去重完成"
echo "==========================================================================="
echo "整理完成,具体结果请查看${sharecodeFile}文件"