]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Add support for a "[" that conforms to the GNU coding standards,
authorJim Meyering <jim@meyering.net>
Sun, 6 Jul 2003 06:12:20 +0000 (06:12 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 6 Jul 2003 06:12:20 +0000 (06:12 +0000)
commit05731b47170a04cb54be605b037ffd712fdd8a3f
treeb24f92ce5aa2ec98205c33f3401839cd2713d80c
parent138fd919b8039c219fd5bca4f99bcfe65d3e69e0
Add support for a "[" that conforms to the GNU coding standards,
i.e., that does not depend on its name.

(LBRACKET): Define to 0 if not defined.
(main): Use LBRACKET rather than argv[0].

----------
(one_argument): Do not check for -t if POSIXLY_CORRECT.

(main): Do not recognize --help or --version if
POSIXLY_CORRECT, when invoked as "test".  Handle "[ ]" correctly.
Do not bother testing that margv[margc] is non-null.
src/test.c