Parameters must be declared at the beginning of a command file using the PARMS
keyword. Parameters are preceded by an ampersand (&) and consist of a
combination of one or more letters or underscores. Letters may be upper-case or
lower-case.
Using &ArG_lEfT in Command Files
A command file may contain a special argument named &ArG_lEfT. This special
argument does not have to be declared using the PARMS keyword. It can be used
in command files containing other parameters, or in command files that do not
contain any parameters. This special argument can accept the union of zero or more
command line arguments as a single argument. See “To increase flexibility of
command files by using &ArG_lEfT” for more information.
Using UNIX Commands and Scripts with Command Files
Command files may include UNIX commands and may call shell scripts. Some
commands are recognized directly by the interface (pwd, for example) while others
require a preceding exclamation point (!) to identify them as shell commands.
Using Shell Variables with Command Files
Command files may contain shell variables. Command files only support shell
variables beginning with “$”, followed by an identifier. An identifier is composed
of an underscore or a letter followed by zero or more letters, digits, or underscores.
Identifiers may follow the “$” symbol directly, or follow the “$” enclosed in braces
“{}”. An identifier must be enclosed in braces if any letter, digit, or underscore that
is not part of the identifier immediately follows the identifier. Otherwise, the
following text will be interpreted as part of the identifier. You can examine any
shell variables defined for your environment by using the UNIX env command.
Positional shell variables, such as $1, $2, and so on, are not supported. Neither are
special shell variables, such as $@, $*, and so on.
To illustrate how shell variables work, consider the shell variable “S”, defined to be
the string “soft”. Suppose you wanted to use the shell variable to reference the
directory “/users/softkey”. The reference “/users/${S}key” would produce the
desired directory name. However, the reference “/users/$Skey” would cause the
shell variable “Skey” to be searched for.
Chapter 3: Using the Emulator/Analyzer Interface
Creating and Executing Command Files
86
Summary of Contents for 64783A
Page 30: ...xxx ...
Page 31: ...Part 1 Quick Start Guide 1 ...
Page 33: ...1 Getting Started 3 ...
Page 70: ...40 ...
Page 75: ...Part 2 Using The Emulator 45 ...
Page 140: ...110 ...
Page 141: ...4 Using the Emulator How to control the processor and view system resources 111 ...
Page 227: ...5 Using the Emulation Bus Analyzer How to record program execution in real time 197 ...
Page 290: ...260 ...
Page 331: ...8 Configuring the Emulator 301 ...
Page 382: ...352 ...
Page 383: ...9 Solving Problems What to do when the emulator doesn t behave as expected 353 ...
Page 397: ...Part 3 Reference 367 ...
Page 399: ...10 Using Memory Management Understanding logical and physical emulation and analysis 369 ...
Page 429: ...11 Emulator Commands The command syntax reference for the emulator softkey interface 399 ...
Page 443: ...copy Chapter 11 Emulator Commands copy 413 ...
Page 451: ...display Chapter 11 Emulator Commands display 421 ...
Page 457: ...DISPLAY MEMORY Chapter 11 Emulator Commands DISPLAY MEMORY 427 ...
Page 461: ...DISPLAY MMU Chapter 11 Emulator Commands DISPLAY MMU 431 ...
Page 464: ...DISPLAY TRACE Chapter 11 Emulator Commands DISPLAY TRACE 434 ...
Page 480: ...modify Chapter 11 Emulator Commands modify 450 ...
Page 501: ...set Chapter 11 Emulator Commands set 471 ...
Page 514: ... SYMB Chapter 11 Emulator Commands SYMB 484 ...
Page 582: ...552 ...
Page 583: ...13 Setting X Resources 553 ...
Page 598: ...568 ...
Page 606: ...576 ...
Page 613: ...16 Specifications and Characteristics 583 ...
Page 627: ...Part 4 Concept Guide 597 ...
Page 629: ...17 X Resources and the Graphical User Interface 599 ...
Page 639: ...Part 5 Installation and Service Guide 609 ...
Page 697: ...19 Installation and Service 667 ...
Page 746: ...Chapter 19 Installation and Service Verifying the Installation 716 ...
Page 755: ...20 Installing Updating Emulator Firmware 725 ...
Page 762: ...732 ...
Page 778: ...748 ...
Page 810: ...X server 554 604 X Window System 54 Index 780 ...