Manual Reference Pages  - execinput (1)

NAME

execinput - reads commands from a text stream and execute them one at a time.

CONTENTS

Synopsis
Description
Options
Examples
See Also
License
Copyright
Authors

SYNOPSIS

execinput [ -h -? -help --help --? ]
execinput [options...] <inputfile

DESCRIPTION

execinput reads a series of commands from stdin or a text file and executes each line as a command. execinput may be obtained from:

Use of execinput is subject to the License terms.

OPTIONS

-c string
  Any line which begins with a character contained in string is a comment and is not executed. (Default is to execute all input lines with 1 or more characters.)
-h -help --help -? --??
  Print the help message. (Default - do not print help message.)
-ef
  Exit on first failure. ( Default - continue processing after a command failure).
-i
  Emit version, copyright, license and contact information.( Default - do not emit information.)
-in input_file
  Read input from the specified file. (Default is to read from stdin.)
-loge
  Log processing to stderr. (Default is no logging.)
-logf log_file
  Log processing to log_file. (Default is to read from stdin.)
-wl widest_line
  Widest input line in characters. (Default widest_line=16000.)

EXAMPLES

% execinput -h % echo 'rm foobar' | execinput % execinput -in cmdfile -ef -c '#!' -logf processed.log % find . | grep \/ | extract -cols "mv [1,] [1,-2][cu:-1,]" -dl \/ -mt | execinput

SEE ALSO

none

LICENSE

You may run this program on any platform. You may redistribute the source code of this program subject to the condition that you do not first modify it in any way. You may distribute binary versions of this program so long as they were compiled from unmodified source code. There is no charge for using this software. You may not charge others for the use of this software.

COPYRIGHT

Copyright (C) 2002 David Mathog and Caltech.

AUTHORS

David Mathog, Biology Division, Caltech <mathog@caltech.edu>


execinput (1) 21 Feb 2002