[fpc-pascal] Capture HeadTrace output to file?

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


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

should do. I didnt test, but getting stderr only may work like this:

./something 2> out.log


HTH,
Marc





More information about the fpc-pascal mailing list