* da.po, de.po, es.po, et.po, fr.po, gl.po, id.po, it.po, ko.po,
[findutils.git] / TODO
blob8baf73e7c53ebfa6bdc0adc3d31c511218cdf86d
1 -*-outline-*-
2 * lib/filemode.c has "# undef S_ISDOOR" added.  This should be moved upstream.
4 * Speed of locate without "-i" option needs to be increased.
6 * There are many bugs to be fixed and features to be added to findutils.
7 The current distribution is a snapshot which fixes many
8 problems, but leaves others unsolved.  Many of the known problems are
9 not listed below.  Over the next few releases, I hope to fix more
10 items, and add the unfixed problems below.
12 * Internationalization
13 ** Is ansi2knr internationalized?  Does it need to be?
15 ** Should these files be internationalized?
16         strftime.c
18 ** Should translated long options be offered in locate and xargs?
19 ** updatedb.sh should be internationalized as well
20 ** the Solaris door files are partially supported (e.g. not by -type)
22 * new standards with Austin group
23 ** "-H" and "-L" options to find were added by Austin group standards.
24 They need to be implemented.
26 **Austin added the following options to xargs:
27 -I perhaps replaces -i
29 -L perhaps replaces -l
31 -E slightly different from -e
33 * Should fnmatch.h be a link to fnmatch.h.in?
34 See tar distribution for an example. 
36 * Eliminate unnecessary strcpy calls in xargs.
38 * lib/getline.c
39 getline.c contains a function getstr which is needed in locate,
40 but is not in the standard library.  In fact getstr is in curses.
41 This problem needs to be fixed.  Can getstr be removed?  Can getline.c
42 be optionally included, or is it mandatory?
44 * man pages for frcode, bigram, and code
45 Perhaps a better description in texi pages as well.
47 * Add option for find to sort output in lexical order for use for updatedb
48 olarsac@airfrance.fr (Olivier) made the following suggestion:
50 As I was running thru the code looking for the bug I wondered why the updatedb
51 has to use sort...
52 why not add an option to find that sorts the output in lexical order?
53 my point is:
54 - sort on a big list is costly (here we do locate on big big file system)
55 - find may (in theory) sort incrementally very easily by sorting only the current
56 directory entries before recursion
57 - it would also solve the lack of \0 sort that prevents you to use the -print0
58 to handle \n in file names properly
61 * large file problems
62 depcomp gets added by automake
63 strncasecmp is needed
64 which requires strcasecmp
65 getline.c temporarily removed from Makefile.am
66 remove getline.o from LIBOBJS
67 remove extra AM_FUNC_GETLINE
70 * xargs: allow newline or arbitrary character to separate arguments
71 Tyler 'Crackerjack' MacDonald <yi@yi.org> suggested that it would be
72 nice if newlines could separate arguments to xargs.  This would allow
73 a single line to be used as an argument, regardless of white space,
74 quotes, and backslash.  A function similar to read_string in xargs.c
75 can be written which replaces the line:
77       if (c == '\0')
79 with the appropriate character.
81 * investigate _LIBC when used with TOLOWER and TOUPPER
82 _LIBC is used to determine whether TOLOWER should check isupper first.
83 Is there something better to check?  Alternatively, can tolower be
84 checked at run time to determine whether isupper should be called first.
86 * make findutils multibyte safe
87 Bruno Haible reported many problems with findutils and multibyte.
89 * BeOS problems with multibyte
90 Bruno Haible reported problems with BeOS.
92 * What should be the default value of PRUNEFS in updatedb?
93 Currently, it is:
94 : ${PRUNEFS="nfs NFS proc"}
95 Perhaps it should default to nothing.
97 * Include example of use of updatedb in documentation.
98 Use something close to the Debian daily cron job.
100 * Side effects do not allow the implicit use of -print.
101 Specifically, the use of -prune turns off the implicit use of -print.
102 Look at this line in find.c:
103   else if (!no_side_effects (predicates->pred_next))
104 side_effects really means:
105 predicate which produces output, according to find.c, at least it does
106 some of the time.
107 Two predicates, side_effects, and produce_output
110 * Supply example for time range commands for find.
112                         --//--
113 This is used by Emacs' spell checker ispell.el:
115 LocalWords: ansi knr strftime xargs updatedb sh fnmatch hin strcpy
116 LocalWords: lib getstr getline frcode bigram texi depcomp automake
117 LocalWords: strncasecmp strcasecmp LIBOBJS FUNC findutils Solaris
118 LocalWords: LIBC TOLOWER TOUPPER tolower isupper PRUNEFS
119 LocalWords: nfs proc Debian cron
120 LocalWords: Haible BeOS Crackerjack