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

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton