B.2.2 Shell Startup Files

The distribution contains shell startup files gawk.sh and gawk.csh, containing functions to aid in manipulating the AWKPATH and AWKLIBPATH environment variables. On a Fedora GNU/Linux system, these files should be installed in /etc/profile.d; on other platforms, the appropriate location may be different.

gawkpath_default

Reset the AWKPATH environment variable to its default value.

gawkpath_prepend

Add the argument to the front of the AWKPATH environment variable.

gawkpath_append

Add the argument to the end of the AWKPATH environment variable.

gawklibpath_default

Reset the AWKLIBPATH environment variable to its default value.

gawklibpath_prepend

Add the argument to the front of the AWKLIBPATH environment variable.

gawklibpath_append

Add the argument to the end of the AWKLIBPATH environment variable.