Skip to content

Instantly share code, notes, and snippets.

@juhasz
Created July 4, 2014 10:36
Show Gist options
  • Save juhasz/7f169b59825d588efb6c to your computer and use it in GitHub Desktop.
Save juhasz/7f169b59825d588efb6c to your computer and use it in GitHub Desktop.
Clean up jenkis log file in terminal
cat $FILEPATH | sed -e "s,ha:[^\x1B\[]*\x1B\[0m,,g" | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment