Syntax files and output device substitutions can be specified on PSPP's command line:
-i
or
--interactive
option is given (see Language control options).
+
file2=
valueThere is one other way to specify a syntax file, if your operating system supports it. If you have a syntax file foobar.stat, put the notation
#! /usr/local/bin/pspp
at the top, and mark the file as executable with chmod +x
foobar.stat
. (If PSPP is not installed in /usr/local/bin,
then insert its actual installation directory into the syntax file
instead.) Now you should be able to invoke the syntax file just by
typing its name. You can include any options on the command line as
usual. PSPP entirely ignores any lines beginning with #!.