Module uucore::posix

source ·
Expand description

Iterate over lines, including the line ending character(s).

This module provides the posix_version function, that returns Some(usize) if the _POSIX2_VERSION environment variable is defined and has value that can be parsed. Otherwise returns None, so the calling utility would assume default behavior.

NOTE: GNU (as of v9.4) recognizes three distinct values for POSIX version: ‘199209’ for POSIX 1003.2-1992, which would define Obsolete mode ‘200112’ for POSIX 1003.1-2001, which is the minimum version for Traditional mode ‘200809’ for POSIX 1003.1-2008, which is the minimum version for Modern mode

Utilities that rely on this module: sort (TBD) tail (TBD) touch (TBD) uniq

Constants§

Functions§