mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-01 14:03:30 +08:00
264021699c
* NEWS: Mention arch. * README: Add arch to the list of programs. * AUTHORS: Add arch. * src/uname.c: Include "uname.h". (PROGRAM_NAME): Handle arch, too. (ARCH_AUTHORS): Define. (uname_long_options, arch_long_options): Renamed and new globals. (usage): Handle arch-mode as well as uname-mode. (decode_switches): New function, extracted from main, to handle arch-mode as well as uname-mode. (main): Handle both modes. * src/uname-arch.c: New program, alias for "uname -m". * src/uname-uname.c: New file, default uname mode. * src/uname.h: New file, uname modes. * src/Makefile.am (EXTRA_PROGRAMS): Add arch. (uname_SOURCES, arch_SOURCES): Define. * man/arch.x: New file. * man/Makefile.am (dist_man_MANS): Add arch.1. (arch.1): New dependency. * tests/misc/arch: New test, compare "arch" with "uname -m" * configure.ac (OPTIONAL_BIN_PROGS): Add arch. (MAN): Add arch.1. * .x-sc_require_config_h: Exempt uname-arch.c and uname-uname.c from the always-include-<config.h> rule. Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: Jim Meyering <jim@meyering.net>
31 lines
546 B
Plaintext
31 lines
546 B
Plaintext
^lib/at-func\.c$
|
|
^lib/bcopy\.c$
|
|
^lib/buffer-lcm\.c$
|
|
^lib/c-strtold\.c$
|
|
^lib/fnmatch_loop\.c$
|
|
^lib/full-read\.c$
|
|
^lib/imaxtostr\.c$
|
|
^lib/mempcpy\.c$
|
|
^lib/memset\.c$
|
|
^lib/offtostr\.c$
|
|
^lib/regcomp\.c$
|
|
^lib/regex_internal\.c$
|
|
^lib/regexec\.c$
|
|
^lib/safe-write\.c$
|
|
^lib/strtoll\.c$
|
|
^lib/strtoul\.c$
|
|
^lib/strtoull\.c$
|
|
^lib/strtoumax\.c$
|
|
^lib/umaxtostr\.c$
|
|
^lib/xstrtold\.c$
|
|
^lib/xstrtoul\.c$
|
|
^src/false\.c$
|
|
^src/lbracket\.c$
|
|
^src/ls-dir\.c$
|
|
^src/ls-ls\.c$
|
|
^src/ls-vdir\.c$
|
|
^src/rand-isaac\.c$
|
|
^src/tac-pipe\.c$
|
|
^src/uname-arch\.c$
|
|
^src/uname-uname\.c$
|