From: Tarlach (tarlach-lists at domain ipeng.com)
Date: Mon 31 Jul 2000 - 22:07:40 IST
> Well is there any way to grep for errors in compiling something, ie to
> grep for *** ?
if you're trying to use grep to select the interesting lines from a
build then you're probably finding that all compiler errors and
warnings are being passed through.
this is because the compiler is writing the errors/warnings
to stderr rather than stdout, pipes usually work on stdout.
gcc main.c 2>&1 | grep mysearch
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:07:02 GMT