manpagez: man pages & more
info bc
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

10. Environment Variables

The following environment variables are processed by bc:


This is the same as the -s option (see section Command Line Options).


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 environent 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.


This should be an integer specifing the number of characters in an output line for numbers. This includes the backslash and newline characters for long numbers.

© 2000-2021
Individual documents may contain additional copyright information.