- 论坛徽章:
- 30
|
- awk '{sub(/^/,"\047",$1);gsub(/\./,"",$1);sub(/:00\|/,"\047@",$2);gsub(/\|/,":",$2)}1' file
- '20150324 00:00'@81845:81148:2769588:2764883
- '20150324 00:01'@81846:81149:2769614:2764908
- '20150324 00:02'@81848:81151:2769647:2764941
- '20150324 00:03'@81850:81153:2769676:2764970
- '20150324 00:04'@81851:81154:2769704:2764998
- '20150324 00:05'@81852:81155:2769727:2765021
- '20150324 00:06'@81854:81157:2769755:2765049
- '20150324 00:07'@81855:81158:2769781:2765075
- '20150324 00:08'@81855:81158:2769817:2765111
- '20150324 00:09'@81855:81158:2769847:2765141
复制代码 回复 1# zhxjfl
|
|