-
-
Save MasterDuke17/724330f4dfa591a1e158d6acb022d71c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias bailtofunc="r -ne 'BEGIN my (%h, \$f); if .starts-with(q|Spesh of |) and /^\"Spesh of \" $<func>=(<-[\ ]>+)/ { \$f = ~$<func> } elsif .contains(q|JIT: bailed completely because of <|) and /\"JIT: bailed completely because of <\" $<op>=(<-[>]>+)/ { %h{q|l_|~$<op>}.push(\$f) } elsif .contains(q|expr bail: Cannot get template for: |) and /\"expr bail: Cannot get template for: \" $<op>=(\w+)/ { %h{q|t_|~$<op>}.push(\$f) }; END for %h.keys.sort -> \$k { say qq|\$k: %h{\$k}.Bag()| }'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment