redirecting C error messages

utzoo!decvax!harpo!eagle!mhtsa!alice!alb utzoo!decvax!harpo!eagle!mhtsa!alice!alb
Wed Feb 16 14:36:51 AEST 1983


That's because cc prints its error messages on stderr, nor stdout.
Say:
cc * 2>file
to redirect them.  This also means you have to say:
cc * 2>&1 | error
to pipe them into error (for example)



More information about the Comp.lang.c mailing list