'cvs status' should ignore Makefile.in
[findutils.git] / TODO
blobf63013f69d085310ba2a58a1948fa6bdbf084598
1 -*-outline-*-
2 * lib/filemode.c has "# undef S_ISDOOR" added.  This should be moved upstream.
4 * -fstype core dumps on sparc-sun-sunos4.1.3_U1 with gcc-2.95.2
5 This is on foxtrot.rahul.net.  dbx does not work on compiled find.
6 Perhaps gcc is installed incorrectly.  "find / -fstype ufs" core dumps
7 quickly.  cc works correctly.
9 * Speed of locate without "-i" option needs to be increased.
11 * Internationalization
12 ** Is ansi2knr internationalized?  Does it need to be?
14 ** Should these files be internationalized?
15         strftime.c
17 ** Should translated long options be offered in locate and xargs?
18 ** updatedb.sh should be internationalized as well
20 * new standards with Austin group
21 ** "-H" and "-L" options to find were added by Austin group standards.
22 They need to be implemented.
24 **Austin added the following options to xargs:
25 -I perhaps replaces -i
27 -L perhaps replaces -l
29 -E slightly different from -e
31 * Should fnmatch.h be a link to fnmatch.h.in?
32 See tar distribution for an example. 
34 * Eliminate unnecessary strcpy calls in xargs.
36 * man pages for frcode, bigram, and code
37 Perhaps a better description in texi pages as well.
39 * Add option for find to sort output in lexical order for use for updatedb
40 olarsac@airfrance.fr (Olivier) made the following suggestion:
42 As I was running thru the code looking for the bug I wondered why the updatedb
43 has to use sort...
44 why not add an option to find that sorts the output in lexical order?
45 my point is:
46 - sort on a big list is costly (here we do locate on big big file system)
47 - find may (in theory) sort incrementally very easily by sorting only the current
48 directory entries before recursion
49 - it would also solve the lack of \0 sort that prevents you to use the -print0
50 to handle \n in file names properly
53 * large file problems
54 depcomp gets added by automake
56 * xargs: allow newline or arbitrary character to separate arguments
57 Tyler 'Crackerjack' MacDonald <yi@yi.org> suggested that it would be
58 nice if newlines could separate arguments to xargs.  This would allow
59 a single line to be used as an argument, regardless of white space,
60 quotes, and backslash.  A function similar to read_string in xargs.c
61 can be written which replaces the line:
63       if (c == '\0')
65 with the appropriate character.
67 * investigate _LIBC when used with TOLOWER and TOUPPER
68 _LIBC is used to determine whether TOLOWER should check isupper first.
69 Is there something better to check?  Alternatively, can tolower be
70 checked at run time to determine whether isupper should be called first.
72 * BeOS problems with multibyte
73 Bruno Haible reported problems with BeOS.
75 * What should be the default value of PRUNEFS in updatedb?
76 Currently, it is:
77 : ${PRUNEFS="nfs NFS proc"}
78 Perhaps it should default to nothing.
80 * Include example of use of updatedb in documentation.
81 Use something close to the Debian daily cron job.
83 * Side effects do not allow the implicit use of -print.
84 Specifically, the use of -prune turns off the implicit use of -print.
85 Look at this line in find.c:
86   else if (!no_side_effects (predicates->pred_next))
87 side_effects really means:
88 predicate which produces output, according to find.c, at least it does
89 some of the time.
90 Two predicates, side_effects, and produce_output
93 * Supply example for time range commands for find.
95                         --//--
96 This is used by Emacs' spell checker ispell.el:
98 LocalWords: ansi knr strftime xargs updatedb sh fnmatch hin strcpy
99 LocalWords: lib getstr getline frcode bigram texi depcomp automake
100 LocalWords: strncasecmp strcasecmp LIBOBJS FUNC findutils Solaris
101 LocalWords: LIBC TOLOWER TOUPPER tolower isupper PRUNEFS
102 LocalWords: nfs proc Debian cron
103 LocalWords: Haible BeOS Crackerjack