In This Book

You cannot use parameters with input ￿les.

You can redirect debugger command output by issuing a command followed by I/O operators (similar to those found in most shells) from the command entry line. Output remains redirected until the command has been completed.

cmd

>pathname

Redirect standard output to pathname.

cmd

>>pathname

Redirect standard output and append it to

 

 

pathname.

cmd

2>pathname

Redirect standard error output to pathname (Korn

 

 

and Bourne shell notation).

cmd

2>>pathname

Redirect standard error output and append it to

 

 

pathname.

cmd

>>?pathname

Redirect standard error output and append it to

 

 

pathname.

Note

A space must separate the command from the I/O operator.

 

Spaces are not allowed between I/O operators or between an

 

I/O operator and pathname.

 

 

You can also group the output of several commands by using brackets. For example, the command

[cmd1;cmd2;cmd3] >pathname

redirects the output from all three commands to pathname.

5-8 Using Debugger Commands