A number of features have been added and changed in dbx since release 2.0.1. For lists of the changes from release to release, type help changes on the dbx command line or see the What's Changed in dbx section of the Sun WorkShop online help
Some of the differences between the current release and release 2.0.1 (or other vendors'variations of dbx) are described in the following sections.
Long-time users of dbx might be using the .dbxinit file instead of the newer .dbxrc file. If you have a .dbxrc file, dbx reads it and ignores any .dbxinit file present. If necessary, you can get dbx to read both by adding the following lines to your .dbxrc file:
kalias alias=dalias source ~/.dbxinit kalias alias=kalias
If you don't have a .dbxrc file, but do have a .dbxinit file, you should see the warning message:
Using .dbxinit compatibility mode. See `help .dbxrc' for more information.
Currently, dbx still reads your .dbxinit file, although this feature may disappear in a future release.
If you still use a .dbxinit file, see Chapter 2, Customizing dbx" for information about using the .dbxrc file instead.
The alias command is now a pre-defined alias for dalias or kalias.
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.
(dbx) /abc
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 |
The embedded slash command was renamed. This is no longer valid:
0x1234/5X
Use the examine command or its alias, x:
examine 0x1234/5X x 0x1234/5X
set is now the KornShell set command, and is no longer an alias for assign.