obey

Obey a command language command

Description:

A subcommand of command. When the defined command is invoked, a command will be obeyed in the underlying shell. Obviously the command will vary depending upon the shell in use – currently Interface Definition Files assume csh.

Invocation

obey { command }

Arguments

command
The command to be obeyed.

Examples:

command abc {

obey { date }

}

The command date will be obeyed by the underlying shell if command abc is obeyed.


ADAM:

The appropriate commands are written to the .icl and .csh files.
. The implementation for ICL means that the command is actually obeyed by ICL which will pass most shell commands on to the shell.
IRAF:
The foreign command mechanism is used.