PreviousNext

Preview

This topic walks you through the basic dcecp syntax and then looks at some commands that you're likely to use in interactive commands and task scripts. The discussions will focus on:

· Use of variables as an easy way to pass data around in your command or script.

· Command substitution as a way to channel the output from one command to the input of another command.

· Grouping elements together so that dcecp parses commands correctly.

· Using lists to sort, find, and reuse information.

· Using arithmetic functions in commands and task scripts.

· Conditionalizing and controlling your script with if statements and loops.

· Executing scripts associated with character patterns using the case command

· Synthesizing commands using eval.

· Importing operations with source

· Creating new dcecp commands with proc

· Using error and exception information

· Handling strings

· Working with files

· Spawning subprocesses