summaryrefslogtreecommitdiff
path: root/TODO
blob: 1a6050b298ab80954ed37679feebfa1fc32514db (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
-*-outline-*-
* Internationalization
** updatedb.sh should be internationalized

* man page for frcode
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

* 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: xargs updatedb sh lib frcode bigram texi
LocalWords: findutils Debian cron

-----

Copyright (C) 1996-2023 Free Software Foundation, Inc.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.