Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Grab the time, the userid and the git version
- cat atlassian-stash-access.log | awk -F'[|]' '($4 ~ /[:lower:]/) && ($7 ~/"" "git*/) {print $5, $4, $7;}' > phase1.txt
- # Parse the git version number from the git details
- 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