Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. adress1@gmail.com othermail@pri.com 2014-03-31T13:24:04Z 555555
  2. adress2@gmail.com othermail2@pri.com 2014-03-31T13:36:19Z 555555
  3.  
  4. cat file.csv |sed 's/[0-9]T[0-9]/[0-9] [0-9]/g'
  5.  
  6. adress1@gmail.com othermail@pri.com 2014-03-3[0-9] [0-9]3:24:04Z 555555
  7. adress2@gmail.com othermail2@pri.com 2014-03-3[0-9] [0-9]3:36:19Z 555555
  8.  
  9. 2014-03-31 13:24:04Z
  10.  
  11. sed 's/([0-9])T([0-9])/1 2/g' file.csv
  12.  
  13. awk '{sub("T", " ", $3)}1' file.csv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement