Created
January 21, 2016 20:54
-
-
Save arduino-man/e1833526b812f98903c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BEGIN { RS = "\r" } | |
{if ($2 == 10000009287){ | |
$5 = "Sales Nancy *" | |
}} | |
{if ($2 == 10000009296){ | |
$5 = "Dispatch Lili *" | |
}} | |
{if ($2 == 10000054401){ | |
$5 = "Franklin Desk *" | |
}} | |
{if($8 == "Call Duration") $8 = "Call Duration"; | |
else{ | |
{if($8 == "1m") $8 = "60";} | |
{ $8 = split($8, time, / /); if(length(time) > 1) $8 = time[1] * 60 + time[2]; else $8=time[1]+0 }}} | |
{ print $1,$2,$3,$4,$5,$6,$7,$8,$9 } |
neutronscott
commented
Jan 21, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment