UNIX tip of the day

Thanks to my coworker for showing me this:

pbpaste | c++filt | mate

I use this to take a really long text output from GDB and de-mangle the code into something I can read.

I copy the output in the GDB console to the clipboard and the command takes those contents and pastes the results into TextMate.

Leave a Reply

Your email address will not be published. Required fields are marked *