Previous: Environment substitutions, Up: Environment variables


B.4.3 Predefined environment variables

There are two environment variables predefined for use in environment substitutions:

VER
Defined as the version number of PSPP, as a string, in a format something like ‘0.9.4’.
ARCH
Defined as the host architecture of PSPP, as a string, in standard cpu-manufacturer-OS format. For instance, Debian GNU/Linux 1.1 on an Intel machine defines this as ‘i586-unknown-linux’. This is somewhat dependent on the system used to compile PSPP.

Nothing prevents these values from being overridden, although it's a good idea not to do so.