comparison doc/interpreter/basics.txi @ 5190:2021bbfff5fd

[project @ 2005-03-04 02:51:33 by jwe]
author jwe
date Fri, 04 Mar 2005 02:51:33 +0000
parents b7360f8eb035
children f14bdd2bec91
comparison
equal deleted inserted replaced
5189:85b315ad5f7d 5190:2021bbfff5fd
64 @itemx -x 64 @itemx -x
65 @cindex @code{--echo-commands} 65 @cindex @code{--echo-commands}
66 @cindex @code{-x} 66 @cindex @code{-x}
67 Echo commands as they are executed. 67 Echo commands as they are executed.
68 68
69 @item --eval @var{code}
70 Evaluate @var{code} and exit when done unless @code{--persist} is also
71 specified.
72
69 @item --exec-path @var{path} 73 @item --exec-path @var{path}
70 @cindex @code{--exec-path @var{path}} 74 @cindex @code{--exec-path @var{path}}
71 Specify the path to search for programs to run. The value of @var{path} 75 Specify the path to search for programs to run. The value of @var{path}
72 specified on the command line will override any value of 76 specified on the command line will override any value of
73 @code{OCTAVE_EXEC_PATH} found in the environment, but not any commands 77 @code{OCTAVE_EXEC_PATH} found in the environment, but not any commands
136 @cindex @code{-p @var{path}} 140 @cindex @code{-p @var{path}}
137 Specify the path to search for function files. The value of @var{path} 141 Specify the path to search for function files. The value of @var{path}
138 specified on the command line will override any value of 142 specified on the command line will override any value of
139 @code{OCTAVE_PATH} found in the environment, but not any commands in the 143 @code{OCTAVE_PATH} found in the environment, but not any commands in the
140 system or user startup files that set the built-in variable @code{LOADPATH}. 144 system or user startup files that set the built-in variable @code{LOADPATH}.
145
146 @item --persist
147 Go to interactive mode after @code{--eval} or reading from a file
148 named on the command line.
141 149
142 @item --silent 150 @item --silent
143 @itemx --quiet 151 @itemx --quiet
144 @itemx -q 152 @itemx -q
145 @cindex @code{--silent} 153 @cindex @code{--silent}
179 @cindex @code{--version} 187 @cindex @code{--version}
180 @cindex @code{-v} 188 @cindex @code{-v}
181 Print the program version number and exit. 189 Print the program version number and exit.
182 190
183 @item @var{file} 191 @item @var{file}
184 Execute commands from @var{file}. 192 Execute commands from @var{file}. Exit when done unless
193 @code{--persist} is also specified.
185 @end table 194 @end table
186 195
187 Octave also includes several built-in variables that contain information 196 Octave also includes several built-in variables that contain information
188 about the command line, including the number of arguments and all of the 197 about the command line, including the number of arguments and all of the
189 options. 198 options.