Title | Previous | Next

source

Process a command input file.

Synopsis:

source filename

Arguments:

filename

The name of a file containing MeshTV commands to execute. The filename can include an absolute or relative path, though the "~" can not be used.

Description:

The source command operates like the UNIX TM C-Shell source command. It accepts a filename as input, then executes each line in that file as if a user had typed it in. Use this when you want to operate on a large set of files, but don't want to manually execute the plotting commands.

Two potential uses for a command input file are: (1) using MeshTV in a "batch" mode, where a large number of commands, files, or both are processed without user intervention; and (2) storing a series of commands which may be too long or complex for an alias, but which the user wants to execute frequently.

Examples:

source batch.file

Sample contents of `batch.file':

plot pc # Assumes user already has opened a SILO file

winset 2

plot iso

winset 3

plot mesh

winset 4

plot vec

See Also:

alias , copyatt , sh


Title | Previous | Next

MeshTV@viper.llnl.gov
Copyright © 1998, U.S. Department of Energy. All rights reserved.