*** empty log message ***
[findutils.git] / TODO
blob584f4de572b694d27baac09f616345f5e14fc213
1 -*-outline-*-
2 * There are many bugs to be fixed and features to be added to findutils.
3 The current distribution is a snapshot which fixes many
4 problems, but leaves others unsolved.  Many of the known problems are
5 not listed below.  Over the next few releases, I hope to fix more
6 items, and add the unfixed problems below.
8 * Internationalization
9 ** Is ansi2knr internationalized?  Does it need to be?
11 ** Should these files be internationalized?
12         strftime.c
14 ** Should translated long options be offered in locate and xargs?
15 ** updatedb.sh should be internationalized as well
16 ** the Solaris door files are partially supported (e.g. not by -type)
18 * new standards with Austin group
19 ** "-H" and "-L" options to find were added by Austin group standards.
20 They need to be implemented.
22 **Austin added the following options to xargs:
23 -I perhaps replaces -i
25 -L perhaps replaces -l
27 -E slightly different from -e
30 * Add case insensitive locate option.  Patch is available.
32 * Should fnmatch.h be a link to fnmatch.hin?
33 See tar distribution for an example. 
35 * Eliminate unnecessary strcpy calls in xargs.
37 * lib/getline.c
38 getline.c contains a function getstr which is needed in locate,
39 but is not in the standard library.  In fact getstr is in curses.
40 This problem needs to be fixed.  Can getstr be removed?  Can getline.c
41 be optionally included, or is it mandatory?
43 * man pages for frcode, bigram, and code
44 Perhaps a better description in texi pages as well.
46 * Add option for find to sort output in lexical order for use for updatedb
47 olarsac@airfrance.fr (Olivier) made the following suggestion:
49 As I was running thru the code looking for the bug I wondered why the updatedb
50 has to use sort...
51 why not add an option to find that sorts the output in lexical order?
52 my point is:
53 - sort on a big list is costly (here we do locate on big big file system)
54 - find may (in theory) sort incrementally very easily by sorting only the current
55 directory entries before recursion
56 - it would also solve the lack of \0 sort that prevents you to use the -print0
57 to handle \n in file names properly
60 * large file problems
61 depcomp gets added by automake
62 strncasecmp is needed
63 which requires strcasecmp
64 getline.c temporarily removed from Makefile.am
65 remove getline.o from LIBOBJS
66 remove extra AM_FUNC_GETLINE
69 * xargs: allow newline or arbitrary character to separate arguments
70 Tyler 'Crackerjack' MacDonald <yi@yi.org> suggested that it would be
71 nice if newlines could separate arguments to xargs.  This would allow
72 a single line to be used as an argument, regardless of white space,
73 quotes, and backslash.  A function similar to read_string in xargs.c
74 can be written which replaces the line:
76       if (c == '\0')
78 with the appropriate character.
80 * investigate _LIBC when used with TOLOWER and TOUPPER
81 _LIBC is used to determine whether TOLOWER should check isupper first.
82 Is there something better to check?  Alternatively, can tolower be
83 checked at run time to determine whether isupper should be called first.
85 * make findutils multibyte safe
86 Bruno Haible reported many problems with findutils and multibyte.
88 * BeOS problems with multibyte
89 Bruno Haible reported problems with BeOS.
91 * What should be the default value of PRUNEFS in updatedb?
92 Currently, it is:
93 : ${PRUNEFS="nfs NFS proc"}
94 Perhaps it should default to nothing.
96 * Include example of use of updatedb in documentation.
97 Use something close to the Debian daily cron job.
99                         --//--
100 This is used by Emacs' spell checker ispell.el:
102 LocalWords: ansi knr strftime xargs updatedb sh fnmatch hin strcpy
103 LocalWords: lib getstr getline frcode bigram texi depcomp automake
104 LocalWords: strncasecmp strcasecmp LIBOBJS FUNC findutils Solaris
105 LocalWords: LIBC TOLOWER TOUPPER tolower isupper PRUNEFS
106 LocalWords: nfs proc Debian cron
107 LocalWords: Haible BeOS Crackerjack