Command Reference 2. Synopsys Commands include NAME include Executes a script of dc_shell commands. SYNTAX int include [-quiet] file string file ARGUMENTS -quiet Don't echo the commands as they are executed. file The name of the script file containing the dc_shell commands to be executed. The file may be either a simple or complex file name. A simple file name has no directory specification, which in UNIX means that it contains no "/" character. Simple file names such as "script.dc" are found by searching each of the search_path directories for the file name. A complex file name has a directory specification within it, which in UNIX means that it contains the "/" character. Complex file names such as "./script.dc", "../script.dc", or "~jerry/dc/test/script.dc" are not searched for in the search_path. Use the which command to find out the file from the search_path that will be included when a simple file name is given. DESCRIPTION Executes a script of dc_shell commands in the specified file. The echo_include_commands variable (default is "true") determines if commands in the file are printed out as they execute. This variable may be overridden by the -quiet flag. The include command ignores (continues to execute the script) all non-fatal errors and warnings, but aborts processing if a fatal error occurs. V3.1 Synopsys Inc. 1988-1994. All rights reserved. 2-1
include 2. Synopsys Commands Command Reference EXAMPLES This example executes the dc_shell commands in "save.file" if it is in the search_path, or prints an error message if the file is not in one of the search_path directories: dc_shell> include save.file SEE ALSO dc_shell(1); which(2); system_variables: echo_include_commands, search_path(3). 2-2 Synopsys Inc. 1988-1994. All rights reserved. V3.1