[fpc-pascal] Capture HeadTrace output to file?

Marc Santhoff M.Santhoff at t-online.de
Fri Nov 30 15:27:20 CET 2007


Am Freitag, den 30.11.2007, 15:00 +0100 schrieb Marc Santhoff:
> Am Freitag, den 30.11.2007, 13:45 +0200 schrieb Graeme Geldenhuys:
> > On 30/11/2007, Marco van de Voort <marcov at stack.nl> wrote:
> > >
> > >   ./something >&  out.log
> > >
> > 
> > That didn't work...
> 
> Maybe you use another shell than Marco (that's [t]csh), you could look
> at the man page for your in the part "output redirection" or similar.
> 
> For sh and maybe bash getting stdout and stderr in the file
> 
> ./something 2>&1 out.log

That doesn't work, it would only for piping:

./stdfile 2>&1 | cat > out.log

But the rest was okay. Henry got it right however ...

Marc





More information about the fpc-pascal mailing list