bc: Environment Variables

1 
1 10 Environment Variables
1 ************************
1 
1 The following environment variables are processed by 'bc':
1 
1 'POSIXLY_CORRECT'
1      This is the same as the -s option (⇒Command Line Options).
1 
1 'BC_ENV_ARGS'
1      This is another mechanism to get arguments to 'bc'.  The format is
1      the same as the command line arguments.  These arguments are
1      processed first, so any files listed in the environment arguments
1      are processed before any command line argument files.  This allows
1      the user to set up "standard" options and files to be processed at
1      every invocation of 'bc'.  The files in the environment variables
1      would typically contain function definitions for functions the user
1      wants defined every time 'bc' is run.
1 
1 'BC_LINE_LENGTH'
1      This should be an integer specifying the number of characters in an
1      output line for numbers.  This includes the backslash and newline
1      characters for long numbers.  As an extension, the value of zero
1      disables the multi-line feature.  Any other value of this variable
1      that is less than 3 sets the line length to 70.
1 
1