Redirecting C Error Messages

utzoo!decvax!harpo!seismo!hao!woods utzoo!decvax!harpo!seismo!hao!woods
Thu Feb 17 10:18:32 AEST 1983


  I am sure this is obvious, but I feel like saying it anyway: 

  How to redirect stderr is VERY dependent on what shell you are using. If 
the method described in the last reply to this question doesn't work, you
could also try:

cc * >& file   (C-shell)

or use fd2 if you have it, e.g.

fd2 + cc * > file

                        GREG
			ucbvax!hplabs!hao!woods
			menlo70!hao!woods
			harpo!seismo!hao!woods
			decvax!brl-bmd!hao!woods



More information about the Comp.lang.c mailing list