Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # This script finds all the thread ids in a GStreamer log and highlights each
- # of them with a different color
- TMPFILE=$(mktemp /tmp/highlight-threads.XXXXXXXXX)
- cat > $TMPFILE
- cat $TMPFILE | h -n $(cat $TMPFILE | remove-ansi-colors.sh | cut -c 25-34 | egrep '0x[0-9a-f]+' | sed -re 's/[ ]+//' | sort | uniq)
- rm $TMPFILE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement