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
#!/usr/bin/env sed -n -f | |
### Collapse third-party errors to | |
### at com.thirdparty.theirPackage first error text | |
### ... | |
### at com.thirdparty.theirPackage last error text | |
{ | |
:loop | |
/\t*at com\.evernote/ b print |
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
def shell_escape(s, quote_empty=True): | |
if quote_empty and s == '': | |
return "''" | |
squot = False | |
dquot = False | |
dquot_special = False | |
special = False | |
escaped = [] | |
for c in s: | |
if c == "'": |
OlderNewer