2007-05-31 14:03:40 +08:00
|
|
|
comm: add an option, --output-delimiter=STR
|
|
|
|
Files to change: src/comm.c, ChangeLog, NEWS, doc/coreutils.texi,
|
|
|
|
Add a new file, tests/misc/comm (use another file in that directory as
|
|
|
|
a template), to exercise the new option. Suggestion from Dan Jacobson.
|
|
|
|
|
2007-03-09 05:01:05 +08:00
|
|
|
printf:
|
|
|
|
Now that gnulib supports *printf("%a"), import one of the
|
|
|
|
*printf-posix modules so that printf(1) will support %a even on
|
|
|
|
platforms where the native *printf(3) is deficient.
|
2007-09-22 14:28:21 +08:00
|
|
|
Suggestion from Eric Blake.
|
2007-03-09 05:01:05 +08:00
|
|
|
|
2007-09-22 14:28:21 +08:00
|
|
|
renice: POSIX utility, needs implementing.
|
|
|
|
suggestion from Karl Berry (among others).
|
|
|
|
|
|
|
|
install: add an option to specify the program used to strip binaries.
|
2002-10-01 19:43:19 +08:00
|
|
|
suggestion from Karl Berry
|
2002-12-06 22:23:44 +08:00
|
|
|
|
2002-12-06 23:38:26 +08:00
|
|
|
doc/coreutils.texi:
|
|
|
|
Address this comment: FIXME: mv's behavior in this case is system-dependent
|
2002-12-11 18:12:41 +08:00
|
|
|
Better still: fix the code so it's *not* system-dependent.
|
2002-12-15 16:40:42 +08:00
|
|
|
|
2003-03-02 18:06:00 +08:00
|
|
|
ls: add --format=FORMAT option that controls how each line is printed.
|
2003-03-05 05:53:04 +08:00
|
|
|
|
|
|
|
cp --no-preserve=X should not attempt to preserve attribute X
|
|
|
|
reported by Andreas Schwab
|
2003-03-11 02:26:16 +08:00
|
|
|
|
|
|
|
copy.c: Address the FIXME-maybe comment in copy_internal.
|
2003-03-11 02:27:27 +08:00
|
|
|
And once that's done, add an exclusion so that `cp --link'
|
|
|
|
no longer incurs the overhead of saving src. dev/ino and dest. filename
|
|
|
|
in the hash table.
|
2003-03-12 01:08:50 +08:00
|
|
|
|
2003-03-12 06:54:36 +08:00
|
|
|
See if we can be consistent about where --verbose sends its output:
|
|
|
|
These all send --verbose output to stdout:
|
|
|
|
head, tail, rm, cp, mv, ln, chmod, chown, chgrp, install, ln
|
|
|
|
These send it to stderr:
|
|
|
|
shred mkdir split
|
|
|
|
readlink is different
|
2003-03-21 23:26:21 +08:00
|
|
|
|
2003-03-27 18:55:18 +08:00
|
|
|
Write an autoconf test to work around build failure in HPUX's 64-bit mode.
|
|
|
|
See notes in README -- and remove them once there's a work-around.
|
|
|
|
|
|
|
|
Integrate use of sendfile, suggested here:
|
|
|
|
http://mail.gnu.org/archive/html/bug-fileutils/2003-03/msg00030.html
|
2003-04-08 18:14:19 +08:00
|
|
|
I don't plan to do that, since a few tests demonstrate no significant benefit.
|
2003-03-28 17:30:46 +08:00
|
|
|
|
|
|
|
Should printf '\0123' print "\n3"?
|
|
|
|
per report from TAKAI Kousuke on Mar 27
|
|
|
|
http://mail.gnu.org/archive/html/bug-coreutils/2003-03/index.html
|
|
|
|
|
|
|
|
printf: consider adapting builtins/printf.def from bash
|
2003-03-28 17:38:54 +08:00
|
|
|
|
2003-03-28 17:44:17 +08:00
|
|
|
df: add `--total' option, suggested here http://bugs.debian.org/186007
|
2003-03-28 18:28:52 +08:00
|
|
|
|
2003-03-28 20:29:57 +08:00
|
|
|
seq: give better diagnostics for invalid formats:
|
|
|
|
e.g. no or too many % directives
|
|
|
|
seq: consider allowing format string to contain no %-directives
|
2003-03-30 22:04:19 +08:00
|
|
|
|
2003-05-13 20:42:16 +08:00
|
|
|
tail: don't use xlseek; it *exits*.
|
|
|
|
Instead, maybe use a macro and return nonzero.
|
2003-06-03 14:53:45 +08:00
|
|
|
|
|
|
|
add mktemp? Suggested by Nelson Beebe
|
2003-06-06 00:28:53 +08:00
|
|
|
|
2003-06-18 17:24:50 +08:00
|
|
|
tr: support nontrivial equivalence classes, e.g. [=e=] with LC_COLLATE=fr_FR
|
2003-06-18 19:00:20 +08:00
|
|
|
|
|
|
|
lib/strftime.c: Since %N is the only format that we need but that
|
|
|
|
glibc's strftime doesn't support, consider using a wrapper that
|
|
|
|
would expand /%(-_)?\d*N/ to the desired string and then pass the
|
|
|
|
resulting string to glibc's strftime.
|
2003-07-15 02:39:37 +08:00
|
|
|
|
2003-07-20 01:30:49 +08:00
|
|
|
unexpand: [http://www.opengroup.org/onlinepubs/007908799/xcu/unexpand.html]
|
|
|
|
printf 'x\t \t y\n'|unexpand -t 8,9 should print its input, unmodified.
|
|
|
|
printf 'x\t \t y\n'|unexpand -t 5,8 should print "x\ty\n"
|
2003-07-23 14:59:54 +08:00
|
|
|
|
2003-07-24 17:20:18 +08:00
|
|
|
Let GNU su use the `wheel' group if appropriate.
|
|
|
|
(there are a couple patches, already)
|
2003-07-23 14:59:54 +08:00
|
|
|
|
2003-08-02 14:27:13 +08:00
|
|
|
sort: Investigate better sorting algorithms; see Knuth vol. 3.
|
|
|
|
|
|
|
|
We tried list merge sort, but it was about 50% slower than the
|
|
|
|
recursive algorithm currently used by sortlines, and it used more
|
|
|
|
comparisons. We're not sure why this was, as the theory suggests it
|
|
|
|
should do fewer comparisons, so perhaps this should be revisited.
|
|
|
|
List merge sort was implemented in the style of Knuth algorithm
|
|
|
|
5.2.4L, with the optimization suggested by exercise 5.2.4-22. The
|
|
|
|
test case was 140,213,394 bytes, 426,4424 lines, text taken from the
|
|
|
|
GCC 3.3 distribution, sort.c compiled with GCC 2.95.4 and running on
|
|
|
|
Debian 3.0r1 GNU/Linux, 2.4GHz Pentium 4, single pass with no
|
|
|
|
temporary files and plenty of RAM.
|
|
|
|
|
|
|
|
Since comparisons seem to be the bottleneck, perhaps the best
|
|
|
|
algorithm to try next should be merge insertion. See Knuth section
|
|
|
|
5.3.1, who credits Lester Ford, Jr. and Selmer Johnson, American
|
|
|
|
Mathematical Monthly 66 (1959), 387-389.
|
2003-08-22 17:46:16 +08:00
|
|
|
|
2003-09-06 17:17:10 +08:00
|
|
|
cp --recursive: perform dir traversals in source and dest hierarchy rather
|
|
|
|
than forming full file names. The latter (current) approach fails
|
|
|
|
unnecessarily when the names become very long.
|
2003-09-08 21:03:07 +08:00
|
|
|
|
2003-12-19 20:55:49 +08:00
|
|
|
Remove suspicious uses of alloca (ones that may allocate more than
|
|
|
|
about 4k)
|
2004-01-10 02:28:44 +08:00
|
|
|
|
2004-01-13 17:29:02 +08:00
|
|
|
Adapt these contribution guidelines for coreutils:
|
|
|
|
http://sources.redhat.com/automake/contribute.html
|
2004-02-03 01:41:52 +08:00
|
|
|
|
|
|
|
|
2006-02-23 22:57:08 +08:00
|
|
|
Changes expected to go in, someday.
|
2004-02-03 01:41:52 +08:00
|
|
|
======================================
|
|
|
|
|
|
|
|
dd patch from Olivier Delhomme
|
|
|
|
|
2006-02-23 22:57:08 +08:00
|
|
|
Andreas Gruenbacher's xattr changes
|
2004-02-03 01:41:52 +08:00
|
|
|
|
|
|
|
Apply Bruno Haible's hostname changes
|
|
|
|
|
2004-02-04 17:46:10 +08:00
|
|
|
test/mv/*: clean up $other_partition_tmpdir in all cases
|
2004-02-05 17:08:52 +08:00
|
|
|
|
|
|
|
ls: when both -l and --dereference-command-line-symlink-to-dir are
|
|
|
|
specified, consider whether to let the latter select whether to
|
|
|
|
dereference command line symlinks to directories. Since -l has
|
|
|
|
an implicit --NO-dereference-command-line-symlink-to-dir meaning.
|
|
|
|
Pointed out by Karl Berry.
|
2004-02-07 00:47:52 +08:00
|
|
|
|
2004-03-08 17:43:56 +08:00
|
|
|
A more efficient version of factor, and possibly one that
|
|
|
|
accepts inputs of size 2^64 and larger.
|
|
|
|
|
2004-04-18 21:40:50 +08:00
|
|
|
dd: consider adding an option to suppress `bytes/block read/written'
|
|
|
|
output to stderr. Suggested here:
|
|
|
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=165045
|
|
|
|
|
2004-02-10 15:54:16 +08:00
|
|
|
Pending copyright papers:
|
|
|
|
------------------------
|
|
|
|
ls --color: Ed Avis' patch to suppress escape sequences for
|
|
|
|
non-highlighted files
|
2004-03-15 23:16:37 +08:00
|
|
|
|
|
|
|
getpwnam from Bruce Korb
|
|
|
|
|
|
|
|
pb (progress bar) from Miika Pekkarinen
|
2004-06-15 02:12:44 +08:00
|
|
|
|
2005-06-21 20:46:40 +08:00
|
|
|
------------------------------
|
|
|
|
|
2006-02-23 22:57:08 +08:00
|
|
|
Remove long-deprecated options. Search case-insensitive for
|
2006-08-15 19:23:44 +08:00
|
|
|
`deprecated' and `remove in '. Automate this.
|
2004-12-16 00:15:16 +08:00
|
|
|
|
|
|
|
Add a distcheck-time test to ensure that every distributed
|
|
|
|
file is either read-only(indicating generated) or is
|
|
|
|
version-controlled and up to date.
|
|
|
|
|
|
|
|
Implement Ulrich Drepper's suggestion to use getgrouplist rather
|
|
|
|
than getugroups. This affects only `id', but makes a big difference
|
|
|
|
on systems with many users and/or groups, and makes id usable once
|
|
|
|
again on systems where access restrictions make getugroups fail.
|
|
|
|
But first we'll need a run-test (either in an autoconf macro or at
|
|
|
|
run time) to avoid the segfault bug in libc-2.3.2's getgrouplist.
|
|
|
|
In that case, we'd revert to using a new (to-be-written) getgrouplist
|
2006-08-15 19:23:44 +08:00
|
|
|
module that does most of what `id' already does. Or just avoid the
|
|
|
|
buggy use of getgrouplist by never passing it a buffer of length zero.
|
|
|
|
See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=200327
|
2004-12-16 00:15:16 +08:00
|
|
|
|
|
|
|
remove `%s' notation:
|
|
|
|
grep -E "\`%.{,4}s'" src/*.c
|
|
|
|
|
|
|
|
remove or adjust chown's --changes option, since it
|
|
|
|
can't always do what it currently says it does.
|
|
|
|
|
|
|
|
Adapt tools like wc, tr, fmt, etc. (most of the textutils) to be
|
|
|
|
multibyte aware. The problem is that I want to avoid duplicating
|
|
|
|
significant blocks of logic, yet I also want to incur only minimal
|
|
|
|
(preferably `no') cost when operating in single-byte mode.
|
2005-01-24 04:38:11 +08:00
|
|
|
|
|
|
|
Remove all uses of the `register' keyword
|
2006-06-26 04:45:32 +08:00
|
|
|
|
|
|
|
pr's use of nstrftime can make it malloc a very large (up to SIZE_MAX) buffer
|
|
|
|
|
|
|
|
ls.c: use gettime rather than clock_gettime, gettimeofday, time
|
2006-08-18 03:58:17 +08:00
|
|
|
|
|
|
|
-----
|
|
|
|
|
2007-05-20 20:04:28 +08:00
|
|
|
Copyright (C) 2002-2007 Free Software Foundation, Inc.
|
2006-08-18 03:58:17 +08:00
|
|
|
|
2007-07-23 20:35:58 +08:00
|
|
|
This program is free software: you can redistribute it and/or modify
|
2006-08-18 03:58:17 +08:00
|
|
|
it under the terms of the GNU General Public License as published by
|
2007-07-23 20:35:58 +08:00
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
2006-08-18 03:58:17 +08:00
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
2007-07-23 20:35:58 +08:00
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|