Comment Comment by usefulcat > just piping the compiler output to less or head also doesn't work, because the errors go to stderr|& is your friend:g++ foo.cc |& less parent usefulcat 2 years ago
|& is your friend:
g++ foo.cc |& less