summaryrefslogtreecommitdiff
path: root/TODO
blob: aff56d4b3c40b5b3f91d64646dbfd69f43d6f983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
-*-outline-*-
* -fstype core dumps on sparc-sun-sunos4.1.3_U1 with gcc-2.95.2
This is on foxtrot.rahul.net.  dbx does not work on compiled find.
Perhaps gcc is installed incorrectly.  "find / -fstype ufs" core dumps
quickly.  cc works correctly.

* Speed of locate without "-i" option needs to be increased.

* Internationalization
** updatedb.sh should be internationalized

* Eliminate unnecessary strcpy calls in xargs.

* man pages for frcode, bigram, and code
Perhaps a better description in texi pages as well.

* Add option for find to sort output in lexical order for use for updatedb
olarsac@airfrance.fr (Olivier) made the following suggestion:

As I was running thru the code looking for the bug I wondered why the updatedb
has to use sort...
why not add an option to find that sorts the output in lexical order?
my point is:
- sort on a big list is costly (here we do locate on big big file system)
- find may (in theory) sort incrementally very easily by sorting only the current
directory entries before recursion


* large file problems
depcomp gets added by automake

* investigate _LIBC when used with TOLOWER and TOUPPER
_LIBC is used to determine whether TOLOWER should check isupper first.
Is there something better to check?  Alternatively, can tolower be
checked at run time to determine whether isupper should be called first.

* BeOS problems with multibyte
Bruno Haible reported problems with BeOS.

* Include example of use of updatedb in documentation.
Use something close to the Debian daily cron job.

* Supply example for time range commands for find.

* Test Coverage improvements
 pred_closeparen pred_openparen
 find -delete dir
 find foo -empty where foo is an unreadable directory
 find -printf %i
 find -printf %l
 find -printf %M
 find -printf %u %U
 find -nogroup
 find -nouser
 find -links +400 on a file.
 find -perm : savannah bug 14748
 The close_stdin=1 case of prep_child_for_exec
 find -printf with no argument
 find -regextype with no argument
 find -size with no argument
 find -size 1e6 (invalid)
 find -warn
 find -xdev
 find -type c
 locate or
 locate and
 locate visit_justprint_unquoted
 locate on slocate format db
 locate: the "procdata->count += procdata->c - 256" case
 locate -b
 locate -P -e
 locate -P -E
 locate -S
 locate with limit
 locate with count only, no printing
 locate with $LOCATE_PATH
 loate -0
 locate -w
 locate with regextype
 locate -L
 locate -H
 locate -P
 locate -l
 locate -d -
 locate with a database it cannot open
 xargs escape processing
 xargs -i -n1
 xargs -a
 xargs EOF string on first line
 xargs blank line (state = SPACE)
 xargs parse_num on non-number
 xargs parse_num on a number with trailing junk




Locale-dependent coverage:
 locate: visit_substring_match_nocasefold_narrow



                        --//--
This is used by Emacs' spell checker ispell.el:

LocalWords: strftime xargs updatedb sh strcpy
LocalWords: lib frcode bigram texi depcomp automake
LocalWords: LIBOBJS FUNC findutils
LocalWords: LIBC TOLOWER TOUPPER tolower isupper
LocalWords: Debian cron
LocalWords: Haible BeOS