2 Now that gnulib supports *printf("%a"), import one of the
3 *printf-posix modules so that printf(1) will support %a even on
4 platforms where the native *printf(3) is deficient.
5 Suggestion form Eric Blake.
7 strip: add an option to specify the program used to strip binaries.
8 suggestion from Karl Berry
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.
14 ls: add --format=FORMAT option that controls how each line is printed.
16 cp --no-preserve=X should not attempt to preserve attribute X
17 reported by Andreas Schwab
19 copy.c: Address the FIXME-maybe comment in copy_internal.
20 And once that's done, add an exclusion so that `cp --link'
21 no longer incurs the overhead of saving src. dev/ino and dest. filename
24 See if we can be consistent about where --verbose sends its output:
25 These all send --verbose output to stdout:
26 head, tail, rm, cp, mv, ln, chmod, chown, chgrp, install, ln
27 These send it to stderr:
31 Write an autoconf test to work around build failure in HPUX's 64-bit mode.
32 See notes in README -- and remove them once there's a work-around.
34 Integrate use of sendfile, suggested here:
35 http://mail.gnu.org/archive/html/bug-fileutils/2003-03/msg00030.html
36 I don't plan to do that, since a few tests demonstrate no significant benefit.
38 Should printf '\0123' print "\n3"?
39 per report from TAKAI Kousuke on Mar 27
40 http://mail.gnu.org/archive/html/bug-coreutils/2003-03/index.html
42 printf: consider adapting builtins/printf.def from bash
44 df: add `--total' option, suggested here http://bugs.debian.org/186007
46 seq: give better diagnostics for invalid formats:
47 e.g. no or too many % directives
48 seq: consider allowing format string to contain no %-directives
50 tail: don't use xlseek; it *exits*.
51 Instead, maybe use a macro and return nonzero.
53 add mktemp? Suggested by Nelson Beebe
55 tr: support nontrivial equivalence classes, e.g. [=e=] with LC_COLLATE=fr_FR
57 lib/strftime.c: Since %N is the only format that we need but that
58 glibc's strftime doesn't support, consider using a wrapper that
59 would expand /%(-_)?\d*N/ to the desired string and then pass the
60 resulting string to glibc's strftime.
62 unexpand: [http://www.opengroup.org/onlinepubs/007908799/xcu/unexpand.html]
63 printf 'x\t \t y\n'|unexpand -t 8,9 should print its input, unmodified.
64 printf 'x\t \t y\n'|unexpand -t 5,8 should print "x\ty\n"
66 Let GNU su use the `wheel' group if appropriate.
67 (there are a couple patches, already)
69 sort: Investigate better sorting algorithms; see Knuth vol. 3.
71 We tried list merge sort, but it was about 50% slower than the
72 recursive algorithm currently used by sortlines, and it used more
73 comparisons. We're not sure why this was, as the theory suggests it
74 should do fewer comparisons, so perhaps this should be revisited.
75 List merge sort was implemented in the style of Knuth algorithm
76 5.2.4L, with the optimization suggested by exercise 5.2.4-22. The
77 test case was 140,213,394 bytes, 426,4424 lines, text taken from the
78 GCC 3.3 distribution, sort.c compiled with GCC 2.95.4 and running on
79 Debian 3.0r1 GNU/Linux, 2.4GHz Pentium 4, single pass with no
80 temporary files and plenty of RAM.
82 Since comparisons seem to be the bottleneck, perhaps the best
83 algorithm to try next should be merge insertion. See Knuth section
84 5.3.1, who credits Lester Ford, Jr. and Selmer Johnson, American
85 Mathematical Monthly 66 (1959), 387-389.
87 cp --recursive: perform dir traversals in source and dest hierarchy rather
88 than forming full file names. The latter (current) approach fails
89 unnecessarily when the names become very long.
91 Remove suspicious uses of alloca (ones that may allocate more than
94 Adapt these contribution guidelines for coreutils:
95 http://sources.redhat.com/automake/contribute.html
98 Changes expected to go in, someday.
99 ======================================
101 dd patch from Olivier Delhomme
103 Andreas Gruenbacher's xattr changes
105 Apply Bruno Haible's hostname changes
107 test/mv/*: clean up $other_partition_tmpdir in all cases
109 ls: when both -l and --dereference-command-line-symlink-to-dir are
110 specified, consider whether to let the latter select whether to
111 dereference command line symlinks to directories. Since -l has
112 an implicit --NO-dereference-command-line-symlink-to-dir meaning.
113 Pointed out by Karl Berry.
115 A more efficient version of factor, and possibly one that
116 accepts inputs of size 2^64 and larger.
118 dd: consider adding an option to suppress `bytes/block read/written'
119 output to stderr. Suggested here:
120 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=165045
122 Pending copyright papers:
123 ------------------------
124 ls --color: Ed Avis' patch to suppress escape sequences for
125 non-highlighted files
127 getpwnam from Bruce Korb
129 pb (progress bar) from Miika Pekkarinen
131 ------------------------------
133 Remove long-deprecated options. Search case-insensitive for
134 `deprecated' and `remove in '. Automate this.
136 Add a distcheck-time test to ensure that every distributed
137 file is either read-only(indicating generated) or is
138 version-controlled and up to date.
140 Implement Ulrich Drepper's suggestion to use getgrouplist rather
141 than getugroups. This affects only `id', but makes a big difference
142 on systems with many users and/or groups, and makes id usable once
143 again on systems where access restrictions make getugroups fail.
144 But first we'll need a run-test (either in an autoconf macro or at
145 run time) to avoid the segfault bug in libc-2.3.2's getgrouplist.
146 In that case, we'd revert to using a new (to-be-written) getgrouplist
147 module that does most of what `id' already does. Or just avoid the
148 buggy use of getgrouplist by never passing it a buffer of length zero.
149 See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=200327
151 remove `%s' notation:
152 grep -E "\`%.{,4}s'" src/*.c
154 remove or adjust chown's --changes option, since it
155 can't always do what it currently says it does.
157 Adapt tools like wc, tr, fmt, etc. (most of the textutils) to be
158 multibyte aware. The problem is that I want to avoid duplicating
159 significant blocks of logic, yet I also want to incur only minimal
160 (preferably `no') cost when operating in single-byte mode.
162 Remove all uses of the `register' keyword
164 pr's use of nstrftime can make it malloc a very large (up to SIZE_MAX) buffer
166 ls.c: use gettime rather than clock_gettime, gettimeofday, time
170 Copyright (C) 2002-2007 Free Software Foundation, Inc.
172 This program is free software; you can redistribute it and/or modify
173 it under the terms of the GNU General Public License as published by
174 the Free Software Foundation; either version 2, or (at your option)
177 This program is distributed in the hope that it will be useful,
178 but WITHOUT ANY WARRANTY; without even the implied warranty of
179 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
180 GNU General Public License for more details.
182 You should have received a copy of the GNU General Public License
183 along with this program; if not, write to the Free Software Foundation,
184 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.