2002-08-04 13:40:26 +00:00
|
|
|
These are the GNU core utilities. This package is the union of
|
|
|
|
|
the GNU fileutils, sh-utils, and textutils packages.
|
|
|
|
|
|
|
|
|
|
Most of these programs have significant advantages over their Unix
|
|
|
|
|
counterparts, such as greater speed, additional options, and fewer
|
|
|
|
|
arbitrary limits.
|
|
|
|
|
|
|
|
|
|
The programs that can be built with this package are:
|
|
|
|
|
|
basenc: A new program complementary to base64/base32
Encodes/decodes data in various common formats:
base64,base64url,base32,base32,base16,base2,z85.
Discussed here:
https://lists.gnu.org/r/coreutils/2018-11/msg00014.html
https://lists.gnu.org/r/coreutils/2018-12/msg00019.html
* AUTHORS: Add basenc.
* README: Reference the new program.
* NEWS: Mention the new program.
* build-aux/gen-lists-of-programs.sh: Add basenc.
* doc/coreutils.texi: (basenc invocation): Document the new command.
* man/.gitignore: Ignore the generated man page.
* man/basenc.x: A new template, with few examples.
* man/local.mk: Reference the new man page.
* scripts/git-hooks/commit-msg: Allow basenc as program prefix.
* src/.gitignore: Ignore the new binary.
* src/basenc.c:
(usage): Mention new options.
(main): Handle new options.
(isbase*, base*_length, base*_encode, base*_decode_ctx): Implement new
encoding/decoding formats.
* src/local.mk: Add new program.
* tests/local.mk: Add new test.
* tests/misc/basenc.pl: New tests.
* tests/misc/help-version.sh (basenc_setup): use '--version' for default
invocation (basenc errors with no parameters).
2018-12-27 22:36:08 -07:00
|
|
|
[ arch b2sum base32 base64 basename basenc cat chcon chgrp chmod chown
|
|
|
|
|
chroot cksum comm coreutils 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 mktemp
|
|
|
|
|
mv nice nl nohup nproc numfmt od paste pathchk pinky pr printenv printf ptx
|
|
|
|
|
pwd readlink realpath rm rmdir runcon seq sha1sum sha224sum sha256sum
|
|
|
|
|
sha384sum sha512sum shred shuf sleep sort split stat stdbuf stty sum sync
|
|
|
|
|
tac tail tee test timeout touch tr true truncate tsort tty uname unexpand
|
|
|
|
|
uniq unlink uptime users vdir wc who whoami yes
|
2002-08-04 13:40:26 +00:00
|
|
|
|
|
|
|
|
See the file NEWS for a list of major changes in the current release.
|
|
|
|
|
|
2008-01-23 00:18:24 +01:00
|
|
|
If you obtained this file as part of a "git clone", then see the
|
|
|
|
|
README-hacking file. If this file came to you as part of a tar archive,
|
2022-08-13 20:48:12 +01:00
|
|
|
then see the file INSTALL for general compilation and installation
|
|
|
|
|
instructions, or README-install for system and coreutils specific instructions.
|
2002-08-04 13:40:26 +00:00
|
|
|
|
2016-12-27 15:02:34 -08:00
|
|
|
Like the rest of the GNU system, these programs mostly conform to
|
|
|
|
|
POSIX, with BSD and other extensions. For closer conformance, or
|
|
|
|
|
conformance to a particular POSIX version, set the POSIXLY_CORRECT
|
|
|
|
|
and the _POSIX2_VERSION environment variables, as described in
|
2003-11-05 03:34:09 +00:00
|
|
|
the documentation under "Standards conformance".
|
2002-08-04 13:40:26 +00:00
|
|
|
|
|
|
|
|
The ls, dir, and vdir commands are all separate executables instead of
|
|
|
|
|
one program that checks argv[0] because people often rename these
|
|
|
|
|
programs to things like gls, gnuls, l, etc. Renaming a program
|
|
|
|
|
file shouldn't affect how it operates, so that people can get the
|
|
|
|
|
behavior they want with whatever name they want.
|
|
|
|
|
|
|
|
|
|
Special thanks to Paul Eggert, Brian Matthews, Bruce Evans, Karl Berry,
|
2004-08-10 22:47:08 +00:00
|
|
|
Kaveh Ghazi, and François Pinard for help with debugging and porting
|
2002-08-04 13:40:26 +00:00
|
|
|
these programs. Many thanks to all of the people who have taken the
|
|
|
|
|
time to submit problem reports and fixes. All contributed changes are
|
2009-04-18 09:17:04 +02:00
|
|
|
attributed in the commit logs.
|
2002-08-04 13:40:26 +00:00
|
|
|
|
|
|
|
|
And thanks to the following people who have provided accounts for
|
|
|
|
|
portability testing on many different types of systems: Bob Proulx,
|
2004-08-10 22:47:08 +00:00
|
|
|
Christian Robert, François Pinard, Greg McGary, Harlan Stenn,
|
2002-08-04 13:40:26 +00:00
|
|
|
Joel N. Weber, Mark D. Roth, Matt Schalit, Nelson H. F. Beebe,
|
2004-08-10 22:47:08 +00:00
|
|
|
Réjean Payette, Sam Tardieu.
|
2002-08-04 13:40:26 +00:00
|
|
|
|
2005-01-04 10:01:24 +00:00
|
|
|
Thanks to Michael Stone for inflicting test releases of this package
|
2002-08-04 13:40:26 +00:00
|
|
|
on Debian's unstable distribution, and to all the kind folks who used
|
|
|
|
|
that distribution and found and reported bugs.
|
|
|
|
|
|
|
|
|
|
Note that each man page is now automatically generated from a template
|
|
|
|
|
and from the corresponding --help usage message. Patches to the template
|
|
|
|
|
files (man/*.x) are welcome. However, the authoritative documentation
|
|
|
|
|
is in texinfo form in the doc directory.
|
|
|
|
|
|
2008-01-18 09:26:49 +01:00
|
|
|
|
2022-08-13 20:48:12 +01:00
|
|
|
***************
|
|
|
|
|
Feature requests:
|
|
|
|
|
---------------
|
2003-07-29 20:55:00 +00:00
|
|
|
|
2022-08-13 20:48:12 +01:00
|
|
|
If you would like to add a new feature, please try to get some sort of
|
|
|
|
|
consensus that it is a worthwhile change. One way to do that is to send
|
|
|
|
|
mail to coreutils@gnu.org including as much description and justification
|
|
|
|
|
as you can. Based on the feedback that generates, you may be able to
|
|
|
|
|
convince us that it's worth adding. Please also consult the list of
|
|
|
|
|
previously discussed but ultimately rejected feature requests at:
|
|
|
|
|
https://www.gnu.org/software/coreutils/rejected_requests.html
|
2003-03-29 14:24:16 +00:00
|
|
|
|
2005-01-08 09:00:08 +00:00
|
|
|
|
2005-01-04 10:01:24 +00:00
|
|
|
***************
|
|
|
|
|
Reporting bugs:
|
|
|
|
|
---------------
|
|
|
|
|
|
2015-12-07 10:03:52 -08:00
|
|
|
Send bug reports, questions, comments, etc. to bug-coreutils@gnu.org.
|
|
|
|
|
To suggest a patch, see the files README-hacking and HACKING for tips.
|
|
|
|
|
|
2022-08-13 20:48:12 +01:00
|
|
|
All of these programs except 'test' recognize the '--version' option.
|
|
|
|
|
When reporting bugs, please include in the subject line both the package
|
|
|
|
|
name/version and the name of the program for which you found a problem.
|
|
|
|
|
|
2015-12-07 10:03:52 -08:00
|
|
|
If you have a problem with 'sort', try running 'sort --debug', as it
|
2021-09-09 16:04:00 +01:00
|
|
|
can often help find and fix problems without having to wait for an
|
2015-12-07 10:03:52 -08:00
|
|
|
answer to a bug report. If the debug output does not suffice to fix
|
|
|
|
|
the problem on your own, please compress and attach it to the rest of
|
|
|
|
|
your bug report.
|
|
|
|
|
|
2005-01-04 10:01:24 +00:00
|
|
|
IMPORTANT: if you take the time to report a test failure,
|
maint: quote 'like this' or "like this", not `like this'
* doc/coreutils.texi (Formatting the file names):
coreutils now quotes 'like this'.
* man/help2man:
* src/timeout.c (usage): Quote 'like this' in diagnostics.
* HACKING, Makefile.am, NEWS, README, README-hacking, TODO, cfg.mk:
* doc/Makefile.am, doc/coreutils.texi, m4/jm-macros.m4:
* man/Makefile.am, man/help2man, src/Makefile.am, src/copy.h:
* src/extract-magic, src/ls.c, src/pinky.c, src/pr.c, src/sort.c:
* src/split.c, src/timeout.c, src/who.c, tests/dd/skip-seek-past-file:
* tests/pr/pr-tests: Quote 'like this' in commentary.
* cfg.mk (old_NEWS_hash): Update due to changed old NEWS.
2012-01-22 15:26:00 -08:00
|
|
|
please be sure to include the output of running 'make check'
|
2006-07-09 09:47:20 +00:00
|
|
|
in verbose mode for each failing test. For example,
|
2012-12-06 09:29:34 +00:00
|
|
|
if the test that fails is tests/df/df-P.sh, then you would
|
2009-02-12 13:51:03 +00:00
|
|
|
run this command:
|
2005-01-04 10:01:24 +00:00
|
|
|
|
2012-12-06 09:29:34 +00:00
|
|
|
make check TESTS=tests/df/df-P.sh VERBOSE=yes SUBDIRS=. >> log 2>&1
|
2005-01-04 10:01:24 +00:00
|
|
|
|
2023-05-02 22:39:03 +01:00
|
|
|
For some tests, particularly perl tests, you can get even more detail by adding
|
|
|
|
|
DEBUG=yes. Then include the contents of the file 'log' in your bug report.
|
2005-01-04 10:01:24 +00:00
|
|
|
|
2009-04-18 09:17:04 +02:00
|
|
|
|
2003-03-29 14:24:16 +00:00
|
|
|
***************************************
|
2003-03-23 09:13:57 +00:00
|
|
|
|
2006-01-24 15:26:56 +00:00
|
|
|
There are many tests, but nowhere near as many as we need.
|
2002-08-04 13:40:26 +00:00
|
|
|
Additions and corrections are very welcome.
|
|
|
|
|
|
|
|
|
|
If you see a problem that you've already reported, feel free to re-report
|
2022-08-13 20:48:12 +01:00
|
|
|
it -- it won't bother us to get a reminder. Besides, the more messages we
|
2002-09-02 07:53:13 +00:00
|
|
|
get regarding a particular problem the sooner it'll be fixed -- usually.
|
|
|
|
|
If you sent a complete patch and, after a couple weeks you haven't
|
2003-06-16 10:51:29 +00:00
|
|
|
received any acknowledgement, please ping us. A complete patch includes
|
2002-09-02 07:53:13 +00:00
|
|
|
a well-written ChangeLog entry, unified (diff -u format) diffs relative
|
2003-06-16 07:53:18 +00:00
|
|
|
to the most recent test release (or, better, relative to the latest
|
2008-01-23 00:18:24 +01:00
|
|
|
sources in the public repository), an explanation for why the patch is
|
2002-09-02 07:53:13 +00:00
|
|
|
necessary or useful, and if at all possible, enough information to
|
2003-06-16 07:53:18 +00:00
|
|
|
reproduce whatever problem prompted it. Plus, you'll earn lots of
|
|
|
|
|
karma if you include a test case to exercise any bug(s) you fix.
|
2008-01-23 00:18:24 +01:00
|
|
|
Here are instructions for checking out the latest development sources:
|
2003-06-16 07:53:18 +00:00
|
|
|
|
2017-09-19 01:13:23 -07:00
|
|
|
https://savannah.gnu.org/git/?group=coreutils
|
2002-08-04 13:40:26 +00:00
|
|
|
|
|
|
|
|
For general documentation on the coding and usage standards
|
2017-01-14 22:57:51 -08:00
|
|
|
this distribution follows, see the GNU Coding Standards at:
|
|
|
|
|
https://www.gnu.org/prep/standards/
|
2002-08-04 13:40:26 +00:00
|
|
|
|
2010-10-05 10:50:48 +02:00
|
|
|
For any copyright year range specified as YYYY-ZZZZ in this package
|
|
|
|
|
note that the range specifies every single year in that closed interval.
|
|
|
|
|
|
2023-06-07 15:11:13 +01:00
|
|
|
Please see the file COPYING for copying conditions.
|
2006-08-17 19:58:17 +00:00
|
|
|
|
|
|
|
|
========================================================================
|
|
|
|
|
|
2026-01-01 10:56:16 -08:00
|
|
|
Copyright (C) 1998-2026 Free Software Foundation, Inc.
|
2006-08-17 19:58:17 +00:00
|
|
|
|
|
|
|
|
Permission is granted to copy, distribute and/or modify this document
|
2010-01-06 09:12:10 -07:00
|
|
|
under the terms of the GNU Free Documentation License, Version 1.3 or
|
2006-08-17 19:58:17 +00:00
|
|
|
any later version published by the Free Software Foundation; with no
|
|
|
|
|
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
maint: quote 'like this' or "like this", not `like this'
* doc/coreutils.texi (Formatting the file names):
coreutils now quotes 'like this'.
* man/help2man:
* src/timeout.c (usage): Quote 'like this' in diagnostics.
* HACKING, Makefile.am, NEWS, README, README-hacking, TODO, cfg.mk:
* doc/Makefile.am, doc/coreutils.texi, m4/jm-macros.m4:
* man/Makefile.am, man/help2man, src/Makefile.am, src/copy.h:
* src/extract-magic, src/ls.c, src/pinky.c, src/pr.c, src/sort.c:
* src/split.c, src/timeout.c, src/who.c, tests/dd/skip-seek-past-file:
* tests/pr/pr-tests: Quote 'like this' in commentary.
* cfg.mk (old_NEWS_hash): Update due to changed old NEWS.
2012-01-22 15:26:00 -08:00
|
|
|
Texts. A copy of the license is included in the "GNU Free
|
|
|
|
|
Documentation License" file as part of this distribution.
|