Debugging a Program With dbx

The Symbols / and ?

With the introduction of a KornShell-based parser, the / (forward slash) command had to be renamed because it cannot be distinguished from a UNIX pathname. Use search instead.

This example


(dbx) /abc

now means to execute the file abc from the root directory.

Similarly, ? (question mark) had to be renamed because it is now a shell metacharacter. Use bsearch instead.

This example reads expand the pattern that matches all files in the current directory with a four-character filename having abc as the last three characters, then execute the resulting command.


(dbx) ?abc

If you use these commands frequently, you may wish to create aliases for them

alias ff=search

find forward 

alias fb=bsearch

find backward