1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-08-30 10:25:05 +00:00
dotfiles/bin/trace.awk

5 lines
144 B
Awk
Raw Permalink Normal View History

2025-06-13 18:25:59 +00:00
#!/bin/awk -f
/^Traceback \(most recent call last\):/ { traceback = 1 }
traceback { print }
traceback && /^[0-9]{4}-[0-9]{2}-[0-9]{2}/ { exit }