Programming Tools Guide
Chapter 8, adb: absolute debugger

Combining commands on a single line

Combining commands on a single line

To specify more than one command on a line, separate each commands with a semicolon (;). The commands are performed one at a time, starting at the left. Changes to the current address and format are carried to the next command. If an error occurs, the remaining commands are ignored. For example, the following command searches for and displays a string that begins with the characters Th:

   /l 'Th'; ?s