2002-07-02 22:56:32 +08:00
|
|
|
restore djgpp, eventually
|
2002-08-20 18:19:18 +08:00
|
|
|
merge TODO lists
|
|
|
|
add unit tests for lib/*.c
|
2003-03-28 17:32:21 +08:00
|
|
|
rewrite lib/ftw.c not to use explicit recursion, and then use nftw in
|
|
|
|
chown, chgrp, chmod, du
|
2002-10-01 19:43:19 +08:00
|
|
|
|
|
|
|
strip: add an option to specify the program used to strip binaries.
|
|
|
|
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
|
|
|
|
|
|
|
implement --target-directory=DIR for install (per texinfo documentation)
|
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
|
|
|
|
|
|
|
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
|
2003-03-31 18:59:40 +08:00
|
|
|
|
|
|
|
m4: rename all macros that start with AC_ to start with another prefix
|
2003-04-03 02:42:12 +08:00
|
|
|
|
2003-04-08 18:14:19 +08:00
|
|
|
resolve RH report on cp -a forwarded by Tim Waugh
|
|
|
|
|
|
|
|
Martin Michlmayr's patch to provide ls with `--sort directory' option
|
|
|
|
|
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
|
|
|
|
|
|
|
Now that AC_FUNC_LSTAT and AC_FUNC_STAT are in autoconf,
|
|
|
|
remove m4/stat.m4 and m4/lstat.m4.
|
2003-06-18 17:24:50 +08:00
|
|
|
|
|
|
|
df: alignment problem of `Used' heading with e.g., -mP
|
2003-07-18 14:50:03 +08:00
|
|
|
reported by Karl Berry
|
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
|
|
|
|
2003-07-14 06:15:08 +08:00
|
|
|
fix tail -f to work with named pipes; reported by Ian D. Allen
|
2003-08-17 15:50:40 +08:00
|
|
|
$ mkfifo j; tail -f j & sleep 1; echo x > j
|
|
|
|
./tail: j: file truncated
|
|
|
|
./tail: j: cannot seek to offset 0: Illegal seek
|
2003-07-14 06:15:08 +08:00
|
|
|
|
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
|
|
|
|
|
|
|
sort: Compress temporary files when doing large external sort/merges.
|
|
|
|
This improves performance when you can compress/uncompress faster than
|
|
|
|
you can read/write, which is common in these days of fast CPUs.
|
|
|
|
suggestion from Charles Randall on 2001-08-10
|
2003-07-18 14:50:03 +08:00
|
|
|
|
|
|
|
sort: Add an ordering option -R that causes 'sort' to sort according
|
|
|
|
to a random permutation of the correct sort order. Also, add an
|
|
|
|
option --random-seed=SEED that causes 'sort' to use an arbitrary
|
|
|
|
string SEED to select which permutations to use, in a deterministic
|
|
|
|
manner: that is, if you sort a permutation of the same input file
|
|
|
|
with the same --random-seed=SEED option twice, you'll get the same
|
|
|
|
output. The default SEED is chosen at random, and contains enough
|
|
|
|
information to ensure that the output permutation is random.
|
|
|
|
suggestion from Feth AREZKI, Stephan Kasal, and Paul Eggert on 2003-07-17
|
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-08-23 20:23:35 +08:00
|
|
|
doc/coreutils.texi:
|
|
|
|
Document the exit status of each and every program.
|
2003-08-22 17:46:16 +08:00
|
|
|
Suggestion from Dan Jacobson.
|
|
|
|
The sentence or two describing the common case must appear just once,
|
|
|
|
and then it must be made to appear in the 70+ places where it's needed.
|
2003-08-27 21:37:38 +08:00
|
|
|
|
|
|
|
du: rewrite to use something other than nftw to perform directory traversal.
|
|
|
|
Due to design limitations of nftw, ...
|
|
|
|
using -D makes du dereference each command
|
|
|
|
line argument that is a symlink to a directory.
|
|
|
|
A symlink to non-directory is not dereferenced.
|
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
|
|
|
|
|
|
|
`tail --follow=name --retry' should elicit a diagnostic, since no file name
|
|
|
|
was specified.
|
2003-09-20 16:05:51 +08:00
|
|
|
|
|
|
|
du and wc: add an option to make them read NUL-delimited
|
|
|
|
file name arguments from a file.
|