www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
From: | JSONCRAIG AT aol DOT com |
Message-ID: | <b5390d85.2522c721@aol.com> |
Date: | Tue, 28 Sep 1999 21:36:33 EDT |
Subject: | Re: Ouptput question |
To: | fortinj AT ibm DOT net |
CC: | cygwin AT sourceware DOT cygnus DOT com |
MIME-Version: | 1.0 |
X-Mailer: | AOL 4.0 for Windows 95 sub 10 |
c++ -o foo.exe -g -v foo.cpp 2>&1 | tee out.txt the last two lines of output are this: as -o C:\WINDOWS\TEMP\ccR9Mhgb.o C:\WINDOWS\TEMP\ccI0Figb.s Bad command or file name The file &1 is created and out.txt is not. I'm using GCC-2.95 Mingw32, from Mumits site. Any ideas? Jason > try > > c++ -o foo.exe foo.cpp 2>&1 | tee out.txt > > the 2>&1 sends stderr to stdout. then pipe it to tee which will print > it to the screen AND to a file. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |