Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. # Grab the time, the userid and the git version
  2. cat atlassian-stash-access.log | awk -F'[|]' '($4 ~ /[:lower:]/) && ($7 ~/"" "git*/) {print $5, $4, $7;}' > phase1.txt
  3.  
  4. # Parse the git version number from the git details
  5. cat phase1.txt | awk '{print $1, $2, $3, $5}' | sed s/\"//g > phase 2.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement