[PATCH] Add coreutils/unlink.c
Laurent Bercot
ska-dietlibc at skarnet.org
Mon Jun 23 18:36:50 UTC 2014
> Well, unlink takes '--version' and '--help' as options. I think
> there's a conflict between open standard and coreutils' oddity to
> bring command syntax and version information with command line
> switches.
unlink is not the only nonconforming executable in GNU coreutils.
true and false, for instance, also accept GNU options. (Because
being able to perform "true --help" and "true --version" is vital.)
It's just a symptom of GNU's tendency to think itself as better than
the standard while pretending to conform to it.
Busybox has to make a choice: either be conformant or mimic GNU
coreutils' behaviour. Both paths are valid, but Busybox has to be
consistent with it: all utilities have to make the same choice.
I vote for a general compile-time option BB_MIMIC_GNU, if there
isn't anything similar already.
--
Laurent
More information about the busybox
mailing list