diff options
author | Karel Zak <kzak@redhat.com> | 2007-06-05 23:29:32 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-07-10 19:00:00 +0200 |
commit | 264021699cb9a460ebcdd3d080e88d55c269cc61 (patch) | |
tree | 8aa51f56ead922e46fd2b9eeb8953be4db4de317 /README | |
parent | 33342c1a0a464f198df3f177432a0e98e482e7a4 (diff) | |
download | coreutils-264021699cb9a460ebcdd3d080e88d55c269cc61.tar.xz |
New program: arch
* 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>
Diffstat (limited to 'README')
-rw-r--r-- | README | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ arbitrary limits. The programs that can be built with this package are: - [ base64 basename cat chcon chgrp chmod chown chroot cksum comm cp + [ arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp csplit cut date dd df dir dircolors dirname du echo env expand expr factor false fmt fold groups head hostid hostname id install join kill link ln logname ls md5sum mkdir mkfifo mknod mv nice nl nohup |