Mail Archives: djgpp/1996/04/22/10:30:59
TPJ Mc Guigan (tpj AT sn2 DOT ee DOT umist DOT ac DOT uk) wrote:
: In article <317258AF DOT 61C1 AT Mathematik DOT tu-chemnitz DOT de>,
: Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de says...
: >
: >Lennart Steinke wrote:
: >>
: >> Hi!
: >>
: >> How can a pipe the gcc messages into a file?
: >> gcc file.c > err.msg doesn't work.
: >>
: >> Lenny
: >>
: >> --
: >> Lennart Steinke (steinke AT adv-boeblingen DOT de)
: >use the redir command:
: >
: >redir -e err.msg gcc file.c
: >
:
: Hmmm, what about redirecting stderr via "gcc file.c >& err.msg"? Don't know
: if this type of arrangement is what you want. Just in case it is ---
:
: > redirects stdout
: >& redirects stderr and stdout
: >&> redirects stderr
You are using 4DOS, aren't you? This will NOT work under plain DOS.
--
Groeten, Michel. http://www.cs.vu.nl/~mdruiter
\----/====\----/
\ / \ / "You know, Beavis, you need things that suck, to have
\/ \/ things that are cool.", Butthead.
- Raw text -