*** empty log message ***
[platform/upstream/coreutils.git] / TODO
1 restore djgpp, eventually
2 merge TODO lists
3 add unit tests for lib/*.c
4 rewrite lib/ftw.c not to use explicit recursion, and then use nftw in
5   chown, chgrp, chmod, du
6
7 strip: add an option to specify the program used to strip binaries.
8   suggestion from Karl Berry
9
10 doc/coreutils.texi:
11   Address this comment: FIXME: mv's behavior in this case is system-dependent
12   Better still: fix the code so it's *not* system-dependent.
13
14 implement --target-directory=DIR for install (per texinfo documentation)
15
16 ls: add --format=FORMAT option that controls how each line is printed.
17
18 cp --no-preserve=X should not attempt to preserve attribute X
19   reported by Andreas Schwab
20
21 copy.c: Address the FIXME-maybe comment in copy_internal.
22 And once that's done, add an exclusion so that `cp --link'
23 no longer incurs the overhead of saving src. dev/ino and dest. filename
24 in the hash table.
25
26 See if we can be consistent about where --verbose sends its output:
27   These all send --verbose output to stdout:
28     head, tail, rm, cp, mv, ln, chmod, chown, chgrp, install, ln
29   These send it to stderr:
30     shred mkdir split
31   readlink is different
32
33 Write an autoconf test to work around build failure in HPUX's 64-bit mode.
34 See notes in README -- and remove them once there's a work-around.
35
36 Integrate use of sendfile, suggested here:
37   http://mail.gnu.org/archive/html/bug-fileutils/2003-03/msg00030.html
38 I don't plan to do that, since a few tests demonstrate no significant benefit.
39
40 Should printf '\0123' print "\n3"?
41   per report from TAKAI Kousuke on Mar 27
42   http://mail.gnu.org/archive/html/bug-coreutils/2003-03/index.html
43
44 printf: consider adapting builtins/printf.def from bash
45
46 df: add `--total' option, suggested here http://bugs.debian.org/186007
47
48 seq: give better diagnostics for invalid formats:
49    e.g. no or too many % directives
50 seq: consider allowing format string to contain no %-directives
51
52 dd: consider adding an option to suppress `bytes/block read/written'
53 output to stderr.  Suggested here:
54   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=165045
55
56 m4: rename all macros that start with AC_ to start with another prefix
57
58 resolve RH report on cp -a forwarded by Tim Waugh
59
60 Martin Michlmayr's patch to provide ls with `--sort directory' option
61
62 Remove uses of PROTOTYPES
63
64 tail: don't use xlseek; it *exits*.
65   Instead, maybe use a macro and return nonzero.
66
67 add mktemp?  Suggested by Nelson Beebe
68
69 Now that AC_FUNC_LSTAT and AC_FUNC_STAT are in autoconf,
70 remove m4/stat.m4 and m4/lstat.m4.
71
72 df: alignment problem of `Used' heading with e.g., -mP
73   reported by Karl Berry
74
75 tr: support nontrivial equivalence classes, e.g. [=e=] with LC_COLLATE=fr_FR
76
77 fix tail -f to work with named pipes; reported by Ian D. Allen
78
79 lib/strftime.c: Since %N is the only format that we need but that
80   glibc's strftime doesn't support, consider using a wrapper that
81   would expand /%(-_)?\d*N/ to the desired string and then pass the
82   resulting string to glibc's strftime.
83
84 sort: Compress temporary files when doing large external sort/merges.
85   This improves performance when you can compress/uncompress faster than
86   you can read/write, which is common in these days of fast CPUs.
87   suggestion from Charles Randall on 2001-08-10
88
89 sort: Add an ordering option -R that causes 'sort' to sort according
90   to a random permutation of the correct sort order.  Also, add an
91   option --random-seed=SEED that causes 'sort' to use an arbitrary
92   string SEED to select which permutations to use, in a deterministic
93   manner: that is, if you sort a permutation of the same input file
94   with the same --random-seed=SEED option twice, you'll get the same
95   output.  The default SEED is chosen at random, and contains enough
96   information to ensure that the output permutation is random.
97   suggestion from Feth AREZKI, Stephan Kasal, and Paul Eggert on 2003-07-17
98
99 unexpand: [http://www.opengroup.org/onlinepubs/007908799/xcu/unexpand.html]
100   printf 'x\t \t y\n'|unexpand -t 8,9 should print its input, unmodified.
101   printf 'x\t \t y\n'|unexpand -t 5,8 should print "x\ty\n"
102
103 Let GNU su use the `wheel' group if appropriate.
104   (there are a couple patches, already)
105
106 cut: when stdin is a tty, one has to hit EOF *twice* to get it to stop