MBFL uses some external programs for its inner workings, especially from the GNU Coreutils and GNU Findutils packages; the file system pathnames of these programs is selected at package–configuration time and hard–coded in library’s source code.
We may want to use these program pathnames, either directly or as argument to other programs, for
example find
, as in:
find -type f -exec "$mbfl_PROGRAM_CHOWN" marco:users '{}' ';'
The following global variables are available to access those file system pathnames.
The preselected file system pathname of the program bash
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_BASH=/path/to/bash
The preselected file system pathname of the program m4
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_M4=/path/to/m4
The preselected file system pathname of the program sudo
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_SUDO=/path/to/sudo
The following are the GNU Coreutils.
The preselected file system pathname of the program chgrp
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_CHGRP=/path/to/chgrp
The preselected file system pathname of the program chmod
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_CHMOD=/path/to/chmod
The preselected file system pathname of the program chown
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_CHOWN=/path/to/chown
The preselected file system pathname of the program cp
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_CP=/path/to/cp
The preselected file system pathname of the program date
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_DATE=/path/to/date
The preselected file system pathname of the program gawk
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_GAWK=/path/to/gawk
The preselected file system pathname of the program id
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_ID=/path/to/id
The preselected file system pathname of the program install
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_INSTALL=/path/to/install
The preselected file system pathname of the program ln
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_LN=/path/to/ln
The preselected file system pathname of the program ls
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_LS=/path/to/ls
The preselected file system pathname of the program mkdir
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_MKDIR=/path/to/mkdir
The preselected file system pathname of the program mkfifo
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_MKFIFO=/path/to/mkfifo
The preselected file system pathname of the program mv
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_MV=/path/to/mv
The preselected file system pathname of the program readlink
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_READLINK=/path/to/readlink
The preselected file system pathname of the program realpath
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_REALPATH=/path/to/realpath
The preselected file system pathname of the program rmdir
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_RMDIR=/path/to/rmdir
The preselected file system pathname of the program rm
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_RM=/path/to/rm
The preselected file system pathname of the program sleep
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_SLEEP=/path/to/sleep
The preselected file system pathname of the program sort
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_SORT=/path/to/sort
The preselected file system pathname of the program stat
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_STAT=/path/to/stat
The preselected file system pathname of the program whoami
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_WHOAMI=/path/to/whoami
The following are the GNU Findutils.
The preselected file system pathname of the program find
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_FIND=/path/to/find
The preselected file system pathname of the program locate
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_LOCATE=/path/to/locate
The preselected file system pathname of the program updatedb
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_UPDATEDB=/path/to/updatedb
The preselected file system pathname of the program xargs
; it is selected by the
configure
script and customisable by setting a variable on its command line:
configure MBFL_PROGRAM_XARGS=/path/to/xargs
This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.