| Linux Standard Base Desktop Specification 4.0 | ||
|---|---|---|
| <<< Previous | Next >>> | |
An LSB conforming implementation shall provide the commands and utilities as described in Table 11-1, with at least the behavior described as mandatory in the referenced underlying specification, with the following exceptions:
If any operand (except one which follows --) starts with a
hyphen, the behavior is unspecified.
Rationale (Informative): Applications should place options before operands, or use
--, as needed. This text is needed because, by default, GNU option parsing differs from POSIX, unless the environment variablePOSIXLY_CORRECTis set. For example, ls . -a in GNU ls means to list the current directory, showing all files (that is,"."is an operand and-ais an option). In POSIX,"."and-aare both operands, and the command means to list the current directory, and also the file named -a. Suggesting that applications rely on the setting of thePOSIXLY_CORRECTenvironment variable, or try to set it, seems worse than just asking the applications to invoke commands in ways which work with either the POSIX or GNU behaviors.
Referenced Specification(s)
[1]. This Specification
| <<< Previous | Home | Next >>> |
| Data Definitions for libfontconfig | Up | Command Behavior |