find: Environment Variables

1 
1 8.6 Environment Variables
1 =========================
1 
1 'LANG'
1      Provides a default value for the internationalisation variables
1      that are unset or null.
1 
1 'LC_ALL'
1      If set to a non-empty string value, override the values of all the
1      other internationalisation variables.
1 
1 'LC_COLLATE'
1      The POSIX standard specifies that this variable affects the pattern
1      matching to be used for the '\-name' option.  GNU find uses the GNU
1      version of the 'fnmatch' library function.
1 
1      This variable also affects the interpretation of the response to
1      '-ok'; while the 'LC_MESSAGES' variable selects the actual pattern
1      used to interpret the response to '-ok', the interpretation of any
1      bracket expressions in the pattern will be affected by the
1      'LC_COLLATE' variable.
1 
1 'LC_CTYPE'
1      This variable affects the treatment of character classes used in
1      regular expression and with the '-name' test, if the 'fnmatch'
1      function supports this.
1 
1      This variable also affects the interpretation of any character
1      classes in the regular expressions used to interpret the response
1      to the prompt issued by '-ok'.  The 'LC_CTYPE' environment variable
1      will also affect which characters are considered to be unprintable
11      when filenames are printed (⇒Unusual Characters in File
      Names).
1 
1 'LC_MESSAGES'
1      Determines the locale to be used for internationalised messages,
1      including the interpretation of the response to the prompt made by
1      the '-ok' action.
1 
1 'NLSPATH'
1      Determines the location of the internationalisation message
1      catalogues.
1 
1 'PATH'
1      Affects the directories which are searched to find the executables
1      invoked by '-exec', '-execdir' '-ok' and '-okdir'.  If the PATH
1      environment variable includes the current directory (by explicitly
1      including '.' or by having an empty element), and the find command
1      line includes '-execdir' or '-okdir', 'find' will refuse to run.
1      ⇒Security Considerations, for a more detailed discussion of
1      security matters.
1 
1 'POSIXLY_CORRECT'
1      Determines the block size used by '-ls' and '-fls'.  If
1      'POSIXLY_CORRECT' is set, blocks are units of 512 bytes.  Otherwise
1      they are units of 1024 bytes.
1 
1      Setting this variable also turns off warning messages (that is,
1      implies '-nowarn') by default, because POSIX requires that apart
1      from the output for '-ok', all messages printed on stderr are
1      diagnostics and must result in a non-zero exit status.
1 
1      When 'POSIXLY_CORRECT' is set, the response to the prompt made by
1      the '-ok' action is interpreted according to the system's message
1      catalogue, as opposed to according to 'find''s own message
1      translations.
1 
1 'TZ'
1      Affects the time zone used for some of the time-related format
1      directives of '-printf' and '-fprintf'.
1