(bc.info)Environment Variables


Prev: Limits Up: Top
Enter node , (file) or (file)node

10 Environment Variables
************************

The following environment variables are processed by 'bc':

'POSIXLY_CORRECT'
     This is the same as the -s option (Note: Command Line Options).

'BC_ENV_ARGS'
     This is another mechanism to get arguments to 'bc'.  The format is
     the same as the command line arguments.  These arguments are
     processed first, so any files listed in the environment arguments
     are processed before any command line argument files.  This allows
     the user to set up "standard" options and files to be processed at
     every invocation of 'bc'.  The files in the environment variables
     would typically contain function definitions for functions the user
     wants defined every time 'bc' is run.

'BC_LINE_LENGTH'
     This should be an integer specifying the number of characters in an
     output line for numbers.  This includes the backslash and newline
     characters for long numbers.  As an extension, the value of zero
     disables the multi-line feature.  Any other value of this variable
     that is less than 3 sets the line length to 70.



automatically generated by info2www version 1.2.2.9