1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-08-30 02:14:55 +00:00
dotfiles/bin/trace.awk

5 lines
144 B
Awk
Executable file

#!/bin/awk -f
/^Traceback \(most recent call last\):/ { traceback = 1 }
traceback { print }
traceback && /^[0-9]{4}-[0-9]{2}-[0-9]{2}/ { exit }