Chapter 12. adb Macros: Part One
One of the most powerful and commonly used features of adb also happens to be one of the least well documented: adb macros. adb allows the user to read in adb commands from ASCII files instead of typing them by hand. These files, adb macro files, can contain very simple one line commands or more complex sequences that in turn can read in other macros, creating several layers of nested invocations.
The gurus who analyze UNIX system crash dump savecore files daily use macros often, saving themselves a lot of time as well as wear and tear on their fingers.
Even though adb macros are simply adb commands stored in a file, writing them is still a bit of a black art in its own right. Vendors, such as Sun, even go so far ...
Get Panic! UNIX® System Crash Dump Analysis now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.