#!/bin/bash
while read line
do
uid=`echo $line | awk '{print $1}'`
ttime=`echo $line | awk '{print $2}'`
#rlt=`curl -s "http://127.0.0.1:6310/2/admin/graph/v2/enforce/graph/add.json" -d "source=2975945008&sourceId=$2&addtime=$ttime&graph_type=follower&targetIds=$uid"`
echo $uid" "$ttime
done < $1
Shell while循环
最新推荐文章于 2024-07-17 09:29:31 发布