Commit Graph

334 Commits

Author SHA1 Message Date
dff4077ecd doc: modernize example list of filesystem types for -fstype
* doc/find.texi (-fstype): Mention more common types.
2020-08-13 00:04:18 +02:00
777035bb3c doc: remove fts from configuration chapter
The corresponding configure option was removed with commit 42a28b0dfb.

* doc/find.texi (node fts): Remove section.
2020-07-20 23:47:20 +02:00
7c72d72838 doc: improve section 'Hard links' and fix 'find -L -samefile' description
* doc/find.texi (Hard links): Clarify that 'find -L -samefile FILE'
returns both hard links and symbolic links to FILE, and why.
Further attempt to improve the wording of the whole section by
avoiding wording like "you can ...", and instead describing more
how find works and behaves for the -samefile, -inum and -links
options.  Especially mention that -inum potentially returns files
with the given inode number but yet are no hard links per definition:
this happens if they are on a different file system, i.e., if they
have a different device number.

Fixes https://sv.gnu.org/bugs/?58458
2020-06-21 19:40:11 +02:00
f066937370 maint: copy FDL from gnulib instead of using it as module
Since the previous gnulib update, bootstrap outputs this warning:

  Notice from module fdl:
    Don't use this module! Instead, copy the referenced license file \
    into your version control repository.

See gnulib commit:
  https://git.sv.gnu.org/cgit/gnulib.git/commit/?id=88fc5afbccc9

* bootstrap.conf (gnulib_modules): Remove 'fdl'.
* doc/fdl.texi: Add file as a copy of 'gnulib/doc/fdl.texi'.
* doc/.gitignore (/fdl.texi): Remove to no longer ignore that file.
* Makefile.am (update-gnulib-to-latest): Add command to sync the file.
While at it, add the command to show the git status for
'tests/init.sh' as well.
2020-05-25 18:05:55 +02:00
73734a24cf maint: fix clean rule in doc/ directory
'make clean' removed the file 'doc/find.texi' which is version controlled.

* doc/Makefile.am (CLEANFILES): Remove 'find.texi' to avoid that the
'clean' target removes that file.
Bug introduced in commit v4.6.0-228-g755a22b9.
2020-03-15 11:37:03 +01:00
8f4dd0f712 doc: prefer https:// over http:// in more places
Use HTTPS for GNU, FSF, OpenGroup and Google URLs.

* build-aux/update-online-manual.sh: Switch to HTTPS.
* doc/find.texi (node Further Reading on Security): Likewise.
* lib/buildcmd.c: Likewise in a comment.
* NEWS: Likewise, and shorten a debbugs URL.
2020-03-15 10:54:36 +01:00
Peter Frost
10635bb14a doc: fix typo
* doc/find.texi (Name Directives): s/eample/example/
* find/find.1 (EXAMPLES): Likewise.

Fixes https://sv.gnu.org/bugs/?57807

Copyright-paperwork-exempt: Yes
2020-02-14 14:00:08 +01:00
15528055c5 maint: avoid error from sc_prohibit_gnu_make_extensions
Since last gnulib update, the above syntax-check rule fails:

  Error: doc/Makefile: $< in a non implicit rule
  find_mono.html: find.texi
  ...
  make: *** [maint.mk:439: sc_prohibit_gnu_make_extensions] Error 1

* doc/Makefile.am (find_mono.html): Avoid $< in plain rules.
(findutils.texi_html_node.tar.gz): Likewise.

See also: <https://lists.gnu.org/r/bison-patches/2019-05/msg00017.html>
2020-01-01 17:45:20 +01:00
f7ea96d2b8 maint: update copyright year number ranges
Run 'make update-copyright'.

* lib/regexprops.c (copying): Update the year number manually.
* tests/sample-test: Likewise, here to avoid starting a year number range.
* All other files: Update copyright years via the above make run.
2020-01-01 16:22:52 +01:00
2497c63a29 maint: add entries to 'doc/.gitignore'
* doc/.gitignore (/find.html/, /find-maint.html/): Add entries for
HTML output directories.
(/find.pdf, /find-maint.pdf): Add entries for PDF files.
(/find-maint.dvi, /find-maint.ps): Add entries for other formats.
2020-01-01 16:22:48 +01:00
a0169f9aac doc: use "symbolic link" instead of "symlink" consistently
* doc/find.texi (-printf): Change the shorter term "symlink" to
"symbolic link" for consistency with the rest of the Texinfo manual
and the man page.
(%Y): Likewise.
* find/find.1 (%Y): Likewise.

Suggested by 積丹尼 Dan Jacobson <jidanni@jidanni.org> in:
  https://lists.gnu.org/r/bug-findutils/2019-11/msg00003.html
2019-11-13 00:17:36 +01:00
6975a373c1 doc: fix the command for pushing the tag in the release instructions
* doc/find-maint.texi (Making Releases): When pushing the tag, refer to
the remote name 'origin'.  Also avoid the --tags option because that
would publish all local tags, i.e., not only the given one.  Use RELTAG
instead of 'the-tag-name'.
2019-09-06 21:55:44 +01:00
James Youngman
855dbdadbf find: Clarify description of %f and %h.
Fix https://savannah.gnu.org/bugs/index.php?35253
* doc/find.texi (Name Directives): Clarify description of %f and %h.
* find/find.1 (-printf): Likewise.
* NEWS: mention this change.
2019-09-01 14:55:57 +01:00
James Youngman
45d1608eb4 Fix Savannah bug 54730: additional examples for -quit.
* doc/find.texi (-quit): add another example.
* find/find.1 (-quit): add another example.
(-exec): Point out that -exec my-command {} + -quit
may not result in my-command being run.
(EXAMPLES): add an example for -quit.
* NEWS: mention this change.
2019-09-01 12:59:12 +01:00
James Youngman
7ada6ad941 doc: updates to release instructions.
Some additions to the release instructions:
 - Run bootstrap to update .po files
 - Enable fatal compiler warnings when performing the final build
 - Set RUN_EXPENSIVE_TESTS when running tests
 - Point out that configure.ac no longer contains the version.
 - Add a new Savannah "Release" value for the new release.
2019-08-30 19:46:43 +01:00
James Youngman
278e8fbb12 doc: add some previously-missing steps to the release instructions.
doc/find-maint.texi: point out that the version number in
configure.ac also needs to be updated.  Point out that if you did the
release update on a branch it needs to be merged and in any case that
these changes need to be pushed to origin/master.  Also prompt the
maintainer to check that the FTP upload actually worked.
2019-08-29 19:55:05 +01:00
James Youngman
cc130437f0 Fixes for 'make syntax-check'.
* doc/Makefile.am: Remove trailing newlines.
2019-05-05 18:53:15 +01:00
James Youngman
755a22b982 doc: add a tool for updating the online manual.
* build-aux/update-online-manual.sh: add a script (originally
written in 2005 but not previously included in the source
distribution) which automates the updating of the online manual.
* doc/Makefile.am: Add some targets useful for update-online-manual.sh.
* doc/find-maint.texi (Documentation): Explain how to check out
the web pages and how to update the findutils documentation there.
2019-05-05 17:32:05 +01:00
James Youngman
e599052685 doc: fix bug #56142 by specifying which actions inhibit the default -print
* find/find.1: specify which actions inhibit the default -print
action.
* doc/find.texi (find Expressions): Likewise.
2019-05-04 00:46:42 +01:00
161b838754 doc: clarify find options -newer, -anewer, -cnewer
The previous description "File was modified more recently than file."
was hard to understand without markup, e.g. over the phone.

Furthermore, the description for symbolic links as reference file was
wrong in the man page for the -anewer and -cnewer options: in fact,
find(1) always uses the mtime of the reference file.

* doc/find.texi (Comparing Timestamps): Improve the wording for the
-anewer/-cnewer/-newer options.  Use 'reference' as the argument name.
Add the note from find.1 that the -H/-L options make find(1) use
the data modification time of the file being referenced.
* find/find.1 (-anewer,-cnewer,-newer): Improve the wording, and use
'reference' as argument name.
Fix the description for -anewer/-cnewer: when -H/-L is used with a
symbolic link as reference, then find always uses the mtime of that,
not atime or ctime.

Reported by Dan Jacobson <jidanni@jidanni.org> in
https://lists.gnu.org/r/bug-findutils/2019-04/msg00002.html
2019-04-14 20:59:08 +02:00
487d0701c5 maint: update copyright year number ranges
Run 'make update-copyright'.

* lib/regexprops.c (copying): Update the year number manually.
* All other files: Update copyright years via the above make run.
2019-01-04 23:47:26 +01:00
e3fc99dbda doc: fix grammar issue in texinfo manual
* doc/find.texi (Systems without O_NOFOLLOW): Remove superfluous 'the'.

Reported by Martin Castillo in https://sv.gnu.org/bugs/?55022
2018-11-14 22:48:22 +01:00
42e134a484 maint: provide make target to update gnulib to latest
* Makefile.am (gnulib-sync, update-gnulib-to-latest): Add targets to
pull the latest commit of the gnulib submodule, and also to copy over
the files we keep in sync.
* doc/find-maint.texi (How to update Gnulib to latest): Add section.
2018-11-02 21:35:17 +01:00
e8599a9e33 find: add '-D all' to enable all debug flags
* find/defs.h (DebugOption): Add DebugAll, which includes all other
debug options but DebugHelp.
* find/util.c (debugassoc): Add an entry for DebugAll, and move DebugHelp
to the end.
* doc/find.texi (node Debug Options): Document the new option.
* find/find.1: Likewise.
* NEWS (Improvements): Likewise.
2018-11-02 15:53:19 +01:00
8fc3403211 doc: use portable 'tail' call in texinfo example
* doc/find.texi (node Updating A Timestamp File): Use more portable
'tail -n1' instead of the deprecated form 'tail -1'.
2018-11-02 15:50:28 +01:00
7741d79fa3 doc: fix typo in 'xargs -l' examples in texinfo manual
* doc/find.texi (node Controlling Parallelism): Change from 'xargs -1'
(minus one) to 'xargs -l' (minus El) in three places.

Reported by Ahmad ElKomey in
https://sv.gnu.org/bugs/index.php?54859
2018-10-18 13:19:32 +02:00
013054ffc2 doc: fix the examples of the -perm option in the texinfo documentation
* doc/find.texi (Mode Bits): Move the misplaced '-perm -g+w,o+w' example
up to the '-perm -022' example to where it belongs.  The former got
accidentally separated from the latter in commit 7ade936bc2: the patch
proposed in https://sv.gnu.org/bugs/?14619 was applied in the wrong place.
* NEWS (Bug fixes): Mention the fix.

Reported by Ahmad ElKomey in https://sv.gnu.org/bugs/?54838
2018-10-15 08:46:04 +02:00
James Youngman
e06438bbb6 doc: don't mention indirect blocks. Clarify how -size is measured.
This fixes Savannah bug 36763.
2018-09-23 14:33:12 +01:00
efcf94c4d3 doc: document -printf %Y output consistently
* doc/find.texi (node Location Directives): Mention 'L' and '?' as well.
* find/find.1 (%Y): Mention '?'.
* NEWS (Documentation Changes): Mention the fix.
2018-07-24 08:37:45 +02:00
Christopher Leonard
a981ebe8d6 doc: improve readability of find-maint.texi
* doc/find-maint.texi: s/fuly/fully/, and re-phrase some sentences,
e.g. use active voice.

Copyright-paperwork-exempt: Yes
2018-07-16 21:53:37 +02:00
0f3822c284 build: remove PO files from version control
Let bootstrap auto-update the PO files from "translationproject.org".

* bootstrap.conf (SKIP_PO): Remove, thus letting bootstrap download
the PO files now.
* po/.gitignore: Add entries now created during the build.
* doc/find-maint.texi (Internationalisation): Mention the change.
* NEWS (Changes to the build process): Likewise.
(Translations): Remove section.
2018-03-14 20:44:14 +01:00
0afb2efada find: make -delete honour the -ignore_readdir_race option
* find/pred.c (pred_delete): Return true when the -ignore_readdir_race
option is active and unlinkat() came back with ENOENT.
* doc/find.texi (Option -ignore_readdir_race): Document the change.
(Action -delete): Likewise.
* find/find.1: Likewise.
* NEWS (Bug Fixes): Mention the fix.

For now, it seems a bit hard to add a proper test for this,
so the following shell snippet demonstrates the race:

  $ seq 10 | xargs touch
  $ env time -f 'find exit status: %x\nfind time: %e' \
      find -ignore_readdir_race -type f \
        -delete \
        -exec sh -c 'sleep $(basename {})' \; \
        -printf 'find deleted: %p\n' \
        & \
    sleep 20; \
    seq 10 | xargs rm -fv; \
    wait $!

Reported by Alexander Golubev in
https://savannah.gnu.org/bugs/?52981
2018-03-14 20:44:14 +01:00
1cc207f6eb maint: make inter-release --version output more useful
Now, each snapshot has a version "number" like 4.6-131-219-gda920ee,
which indicates that it is built using the 131st change set
(in _some_ repository) following the "v4.6" tag, and that da920ee
is a prefix of the commit SHA1.

* bootstrap.conf (gnulib_modules): Add git-version-gen.
* build-aux/.gitigore (/git-version-gen): Add entry.
* configure.ac: Run it to set the version from .tarball-version.
* Makefile.am (EXTRA_DIST): Add git-version-gen.
(dist-hook): Create .tarball-version in distribution tarballs,
never in a checked-out repository.
(AUTOMAKE_OPTIONS): Change from 'gnits' to 'gnu std-options readme-alpha'.
* .gitignore (.tarball-version): Add entry.
* doc/find-maint.texi (Making Releases): Adjust: tag before the build,
changed handling in NEWS, etc.
* NEWS (Changes to the build process): Document the change.
2018-03-14 20:44:14 +01:00
8705455ce0 maint: update copyright year number ranges
Run 'make update-copyright'.

* lib/regexprops.c (copying): Update the year number manually.
* All other files: Update copyright years via the above make run.
2018-01-01 19:27:15 +01:00
James Youngman
1b53838ddf regexprops: don't mention regex dialects we're not going to document.
* lib/regextype.c (get_regex_type_synonym): don't return regex
dialect Y as a synonym of dialect X, if we're not in fact going to
include X.  Accept a CONTEXT parameter in order to identify this
situation.  This ensures that the bug fixed in commit
e2c673cbcd stays fixed for any
permutation of regex_map.
* lib/regextype.h: update prototype of get_regex_type_synonym.
* lib/regexprops.c (describe_all): Pass the new context parameter.
* doc/regexprops.texi: regenerate this file.
2017-11-14 22:22:36 +00:00
James Youngman
e2c673cbcd regexprops: fix dangling reference to the `ed' regular expression dialect.
* lib/regextype.c (regex_map): Permute the entries to list POSIX
dialects before other ones, so that we don't end up with a
dangling reference to `ed' regular expressions when
context=findutils.  Remove trailing white space from the output.
* doc/regexprops.texi: Regenerate this file, so that we no longer
have a dangling reference to the `ed' dialect.
* doc/find.texi (Regular Expressions): Point out the difference
between Emacs regular expressions and findutils regular
expressions: in findutils "." will match newline.
* find/find.1: Likewise.
* locate/locate.1: Likewise.  Also document the --regextype option.
2017-11-14 13:43:32 +00:00
2cb10332af all: prefer https:// URLs where possible
Change from http:// to https:// URLs for the following:
www.gnu.org, gnu.org, savannah.gnu.org, git.sv.gnu.org, lists.gnu.org,
translationproject.org, cve.mitre.org, cwe.mitre.org, xkcd.com,
standards.ieee.org, and gcc.gnu.org.

* COPYING: Do the above replacement.
* ChangeLog-2013: Likewise.
* NEWS: Likewise.
* README: Likewise.
* README-hacking: Likewise.
* build-aux/Makefile.am: Likewise.
* build-aux/check-testfiles.sh: Likewise.
* build-aux/gen-changelog.sh: Likewise.
* build-aux/man-lint.sh: Likewise.
* build-aux/src-sniff.py: Likewise.
* cfg.mk: Likewise.
* configure.ac: Likewise.
* doc/Makefile.am: Likewise.
* doc/find-maint.texi: Likewise.
* doc/find.texi: Likewise.
* find/defs.h: Likewise.
* find/exec.c: Likewise.
* find/find.1: Likewise.
* find/finddata.c: Likewise.
* find/fstype.c: Likewise.
* find/ftsfind.c: Likewise.
* find/oldfind.c: Likewise.
* find/parser.c: Likewise.
* find/pred.c: Likewise.
* find/print.c: Likewise.
* find/print.h: Likewise.
* find/sharefile.c: Likewise.
* find/sharefile.h: Likewise.
* find/testsuite/Makefile.am: Likewise.
* find/testsuite/binary_locations.sh: Likewise.
* find/testsuite/checklists.py: Likewise.
* find/testsuite/config/unix.exp: Likewise.
* find/testsuite/find.gnu/name-period.exp: Likewise.
* find/testsuite/find.posix/depth1.exp: Likewise.
* find/testsuite/sv-34079.sh: Likewise.
* find/testsuite/sv-34976-execdir-fd-leak.sh: Likewise.
* find/testsuite/sv-48030-exec-plus-bug.sh: Likewise.
* find/testsuite/sv-48180-refuse-noop.sh: Likewise.
* find/testsuite/sv-52220.sh: Likewise.
* find/testsuite/sv-bug-32043.sh: Likewise.
* find/testsuite/test_escape_c.sh: Likewise.
* find/testsuite/test_escapechars.sh: Likewise.
* find/testsuite/test_inode.sh: Likewise.
* find/testsuite/test_type-list.sh: Likewise.
* find/tree.c: Likewise.
* find/util.c: Likewise.
* gnulib-local/lib/gcc-function-attributes.h: Likewise.
* lib/bugreports.c: Likewise.
* lib/bugreports.h: Likewise.
* lib/buildcmd.c: Likewise.
* lib/buildcmd.h: Likewise.
* lib/check-regexprops.sh: Likewise.
* lib/dircallback.c: Likewise.
* lib/dircallback.h: Likewise.
* lib/extendbuf.c: Likewise.
* lib/extendbuf.h: Likewise.
* lib/fdleak.c: Likewise.
* lib/fdleak.h: Likewise.
* lib/findutils-version.c: Likewise.
* lib/findutils-version.h: Likewise.
* lib/listfile.c: Likewise.
* lib/listfile.h: Likewise.
* lib/printquoted.c: Likewise.
* lib/printquoted.h: Likewise.
* lib/qmark.c: Likewise.
* lib/regexprops.c: Likewise.
* lib/regextype.c: Likewise.
* lib/regextype.h: Likewise.
* lib/safe-atoi.c: Likewise.
* lib/safe-atoi.h: Likewise.
* lib/splitstring.c: Likewise.
* lib/splitstring.h: Likewise.
* lib/test_splitstring.c: Likewise.
* lib/unused-result.h: Likewise.
* locate/frcode.c: Likewise.
* locate/locate.1: Likewise.
* locate/locate.c: Likewise.
* locate/locatedb.5: Likewise.
* locate/locatedb.h: Likewise.
* locate/testsuite/Makefile.am: Likewise.
* locate/testsuite/config/unix.exp: Likewise.
* locate/updatedb.1: Likewise.
* locate/updatedb.sh: Likewise.
* locate/word_io.c: Likewise.
* po/fetch-po-files: Likewise.
* xargs/testsuite/Makefile.am: Likewise.
* xargs/testsuite/config/unix.exp: Likewise.
* xargs/xargs.1: Likewise.
* xargs/xargs.c: Likewise.
2017-10-23 00:57:57 +02:00
0548a502cd maint: add copyright header to more files
* Makefile.am: Add copyright header.
* README: Likewise.
* TODO: Likewise.
* doc/perm.texi: Likewise; use 1994-2017 as Kevin brought it into
findutils from coreutils.
* find/Makefile.am: Add copyright header.
* lib/Makefile.am: Likewise.
* locate/Makefile.am: Likewise.
* xargs/Makefile.am: Likewise.
2017-10-23 00:57:57 +02:00
77651af6a8 maint: update copyright year number ranges
Better late than never: run 'make update-copyright'.

* cfg.mk (update-copyright-env): Change UPDATE_COPYRIGHT_USE_INTERVALS
from 1 to 2 to get a minimal containing range of years; also set
UPDATE_COPYRIGHT_MAX_LINE_LENGTH to 79 characters.
* .x-update-copyright: Add an entry for bootstrap which comes from
gnulib.
* lib/qmark.c: While at it, fix a typo: s/courutils/coreutils/.
* lib/regexprops.c (copying): Update the text so that the
copyright years match the result of "make update-copyright".
* po/fi.po: Change copyright header so that "make update-copyright"
can pick it up: s/©/(C)/
* po/it.po: Likewise.
* po/vi.po: Likewise.
* All other files: Update copyright years via the above make run.
2017-10-23 00:45:18 +02:00
e4d77529d7 doc: clarify 'find -size' values prefixed with '+' and '-'
* doc/find.texi (node Size): Add a sentence to make even clearer that
values prefixed with '+' or '-' do not find files with an exact match
of N in file size.
* find/find.1 (-size): Likewise.
2017-06-29 18:50:29 +02:00
d2f3e014a0 doc: fix explanation of 'find -size' example
'find -size -1048576c' also matches empty files.

* doc/find.texi (node Size): Change "1 to 1,048,575 bytes" to
"0 to 1,048,575 bytes".
* find/find.1 (-size): Likewise.
2017-06-29 18:36:23 +02:00
79bc9191c7 doc: use correct IEC unit prefixes in the documentation of 'find -size'
find(1) uses binary-based units for the suffixes 'k', 'M', and 'G' of
the argument of the '-size' option: 1024, 1024*1024 and 1024^3.
Therefore, the documentation should use the correct IEC prefixes
kibibyte, mebibyte and gibibyte respectively (or their abbreviations
'KiB', 'MiB' and 'GiB').

* doc/find.texi (node Overview): Change 'Kilobytes' to the shorter
but correct 'KiB'.
(node Size): Use the above mentioned, correct IEC prefixes.
While at it, move the 'w' suffix up to match the man page.
* find/find.1 (-size): Likewise.
* find/parser.c (parse_size): Also change to IEX prefixes in some
comments for consistency.
* NEWS (Bug fixes): Mention the fix.

See also:
  https://en.wikipedia.org/wiki/Binary_prefix

Reported by Andreas Metzler in
  https://savannah.gnu.org/bugs/?51304
2017-06-29 18:31:07 +02:00
Andreas Metzler
3e4bb112ae doc: drop workarounds for missing xargs -o option
* doc/find.texi (Multiple Files): Mention the new --open-tty option
to be used as an alternative.
(Safe File Name Handling): Likewise.
* xargs/xargs.1 (EXAMPLES): Remove the tty redirection example.
2017-06-09 00:44:42 +02:00
40cd25147b xargs: add -o, --open-tty option
This option is available in the xargs implementation of FreeBSD, NetBSD,
OpenBSD and in the Apple variant.  Add it for compatibility.

* xargs/xargs.c (open_tty): Add static flag for the new option.
(longopts): Add member.
(main): Handle the 'o' case in the getopt_long() loop.
(prep_child_for_exec): Redirect stdin of the child to /dev/tty when
the -o option is given.  Furthermore, move the just-opened file
descriptor to STDIN_FILENO.
(usage): Document the new option.
* bootstrap.conf (gnulib_modules): Add dup2.
* xargs/xargs.1 (SYNOPSIS): Replace the too-long list of options by
"[options]" - they are listed later anyway.
(OPTIONS): Document the new option.
(STANDARDS CONFORMANCE): Mention that the -o option is an extension.
* doc/find.texi (xargs options): Document the new option.
(Invoking the shell from xargs): Amend the explanation of the
redirection example with a note about the -o option.
(Viewing And Editing): Likewise.
(Error Messages From xargs): Add the message when dup2() fails.
(NEWS): Mention the new option.

Fixes http://savannah.gnu.org/bugs/?51151
2017-06-09 00:44:42 +02:00
6dfd05ca58 doc: fix some -perm examples in find.info
* doc/find.texi (Mode Bits): Fix the description of the -perm examples
which search for the "022" mode bits: the match is for the file's group
and 'other' mode bits instead of for user and group.
While at it, remove a superfluous ';' in the adjacent example.
Bug introduced when adding the -perm examples in FINDUTILS-4.2.11.
* NEWS: Mention the fix.

Reported by Jacob Nevins <0jacobnk.gnu@chiark.greenend.org.uk> in
http://savannah.gnu.org/bugs/?50758
2017-04-13 08:41:20 +02:00
6faf2f529d gnulib: update to latest
* gnulib: Do the above.
* bootstrap: Update from gnulib.
* doc/find.texi: s/time stamp/timestamp/ to adhere to new syntax-check
rule from gnulib.
2017-02-06 22:25:01 +01:00
d93cbffd54 maint: merge README-alpha into README
As of findutils-4.6, this package is stable.

* README-alpha: Remove file, moving the useful content of it to ...
* README: ... here.
* doc/find-maint.texi: Remove README-alpha here, too.

Reported by Steve in
http://lists.gnu.org/archive/html/bug-findutils/2016-10/msg00000.html
2016-11-02 23:31:51 +01:00
Steve Dougherty
85e8c810a2 doc: fix spelling of "output"
* doc/find.texi (node Controlling Parallelism): s/ouptut/output/
* xargs/xargs.1: Likewise.
* find/util.c (cleanup): While at it, fix the same typo here
in a comment, too.

Copyright-paperwork-exempt: Yes
2016-05-18 08:05:58 +02:00
6c37ce48a1 find: support list of file types for -type and -xtype
* find/defs.h (enum file_type): Add enumeration for all (supported)
file types.
(struct predicate): Replace 'type' by 'types' as an array of bool
for the above enum file_type.
* find/parser.c (insert_type): Treat the argument to -type and -xtype
as a comma-separated list of type letters: instead of storing the
single type of the predicate, save the searched type letters in the
above 'types' array.
* find/pred.c (pred_type): Change the comparison against the saved file
type predicate: now check if the type of the actual file is in the array
of searched 'types'.
* find/testsuite/test_type-list.sh: Add test.
* find/testsuite/Makefile.am: Reference the test.
* find/find.1: Document the new feature.
* doc/find.texi: Likewise.
* NEWS: Likewise.
RFE originally initiated by Young Mo Kang in
http://lists.gnu.org/archive/html/bug-findutils/2016-02/msg00025.html
2016-04-10 14:58:55 +02:00
Stephane Chazelas
5701f40c5e Complete the fix for Savannah bug #26092.
* doc/find.texi (Warning Messages): A warning is no longer
produced when the -iname predicate is used.
Copyright-paperwork-exempt: Yes
2016-03-24 07:35:49 +00:00