首页 > 代码库 > awk 多分隔符

awk 多分隔符

#!/bin/bash log_path="./log/"dates=`date -d ‘-1 days‘ +‘%Y%m%d‘`cd $log_path;for i in `cat list`;do wget $i:/home/work/odp/log/search/search.log.${dates}22 ./;donecd ../;cat ${log_path}/search.log.${dates}* |python cal_adv.py |awk -F ‘\t|:‘ ‘{if($2>400){print $0}}‘|sort -nrk1>./result/result.$datescp ./result/result.$dates /home/work/opsite/webroot/

awk 多分隔符