summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
...
* doc: add a tool for updating the online manual.James Youngman2019-05-052-2/+36
| | | | | | | | | * 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.
* doc: fix bug #56142 by specifying which actions inhibit the default -printJames Youngman2019-05-041-4/+9
| | | | | | * find/find.1: specify which actions inhibit the default -print action. * doc/find.texi (find Expressions): Likewise.
* doc: clarify find options -newer, -anewer, -cnewerBernhard Voelker2019-04-141-8/+16
| | | | | | | | | | | | | | | | | | | | | | 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
* maint: update copyright year number rangesBernhard Voelker2019-01-045-5/+5
| | | | | | | Run 'make update-copyright'. * lib/regexprops.c (copying): Update the year number manually. * All other files: Update copyright years via the above make run.
* doc: fix grammar issue in texinfo manualBernhard Voelker2018-11-141-1/+1
| | | | | | * doc/find.texi (Systems without O_NOFOLLOW): Remove superfluous 'the'. Reported by Martin Castillo in https://sv.gnu.org/bugs/?55022
* maint: provide make target to update gnulib to latestBernhard Voelker2018-11-021-0/+17
| | | | | | | * 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.
* find: add '-D all' to enable all debug flagsBernhard Voelker2018-11-021-3/+7
| | | | | | | | | | * 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.
* doc: use portable 'tail' call in texinfo exampleBernhard Voelker2018-11-021-1/+1
| | | | | * doc/find.texi (node Updating A Timestamp File): Use more portable 'tail -n1' instead of the deprecated form 'tail -1'.
* doc: fix typo in 'xargs -l' examples in texinfo manualBernhard Voelker2018-10-181-3/+3
| | | | | | | | * 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
* doc: fix the examples of the -perm option in the texinfo documentationBernhard Voelker2018-10-151-3/+3
| | | | | | | | | | * 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 7ade936bc2c4: 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
* doc: don't mention indirect blocks. Clarify how -size is measured.James Youngman2018-09-231-3/+3
| | | | This fixes Savannah bug 36763.
* doc: document -printf %Y output consistentlyBernhard Voelker2018-07-241-0/+3
| | | | | | * doc/find.texi (node Location Directives): Mention 'L' and '?' as well. * find/find.1 (%Y): Mention '?'. * NEWS (Documentation Changes): Mention the fix.
* doc: improve readability of find-maint.texiChristopher Leonard2018-07-161-7/+7
| | | | | | | * doc/find-maint.texi: s/fuly/fully/, and re-phrase some sentences, e.g. use active voice. Copyright-paperwork-exempt: Yes
* build: remove PO files from version controlBernhard Voelker2018-03-141-2/+3
| | | | | | | | | | | 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.
* find: make -delete honour the -ignore_readdir_race optionBernhard Voelker2018-03-141-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* maint: make inter-release --version output more usefulBernhard Voelker2018-03-141-10/+11
| | | | | | | | | | | | | | | | | | | 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.
* maint: update copyright year number rangesBernhard Voelker2018-01-015-5/+5
| | | | | | | Run 'make update-copyright'. * lib/regexprops.c (copying): Update the year number manually. * All other files: Update copyright years via the above make run.
* regexprops: don't mention regex dialects we're not going to document.James Youngman2017-11-141-148/+148
| | | | | | | | | | | | * 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 e2c673cbcdc325a3a2e9dd02169bb4a42c61bc48 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.
* regexprops: fix dangling reference to the `ed' regular expression dialect.James Youngman2017-11-142-135/+248
| | | | | | | | | | | | | | * 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.
* all: prefer https:// URLs where possibleBernhard Voelker2017-10-233-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* maint: add copyright header to more filesBernhard Voelker2017-10-231-0/+11
| | | | | | | | | | | | * 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.
* maint: update copyright year number rangesBernhard Voelker2017-10-234-8/+4
| | | | | | | | | | | | | | | | | | 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.
* doc: clarify 'find -size' values prefixed with '+' and '-'Bernhard Voelker2017-06-291-1/+2
| | | | | | | * 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.
* doc: fix explanation of 'find -size' exampleBernhard Voelker2017-06-291-1/+1
| | | | | | | | '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.
* doc: use correct IEC unit prefixes in the documentation of 'find -size'Bernhard Voelker2017-06-291-5/+5
| | | | | | | | | | | | | | | | | | | | | | | 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
* doc: drop workarounds for missing xargs -o optionAndreas Metzler2017-06-091-3/+4
| | | | | | | * 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.
* xargs: add -o, --open-tty optionBernhard Voelker2017-06-091-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* doc: fix some -perm examples in find.infoBernhard Voelker2017-04-131-6/+5
| | | | | | | | | | | | * 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
* gnulib: update to latestBernhard Voelker2017-02-061-3/+3
| | | | | | | * gnulib: Do the above. * bootstrap: Update from gnulib. * doc/find.texi: s/time stamp/timestamp/ to adhere to new syntax-check rule from gnulib.
* maint: merge README-alpha into READMEBernhard Voelker2016-11-021-2/+0
| | | | | | | | | | | 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
* doc: fix spelling of "output"Steve Dougherty2016-05-181-1/+1
| | | | | | | | | * 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
* find: support list of file types for -type and -xtypeBernhard Voelker2016-04-101-0/+4
| | | | | | | | | | | | | | | | | | | | | * 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
* Complete the fix for Savannah bug #26092.Stephane Chazelas2016-03-241-3/+0
| | | | | | * doc/find.texi (Warning Messages): A warning is no longer produced when the -iname predicate is used. Copyright-paperwork-exempt: Yes
* Adopt the use of the gnulib module "gendocs".James Youngman2016-03-241-0/+2
| | | | | | | | | | | | | | | * doc/.gitignore: Ignore gendocs_template and gendocs_template_min, since these are copied from gnulib/doc/. * cfg.mk (manual_title): Set $manual_title, since this is needed for maint.mk's nvocation of gendocs.sh. Also set $gendocs_options_ so that the Texinfo tools can find dblocation.texi. * build-aux/.gitignore: Ignore gendocs.sh since it is copied into this directory by gnulib-tool (the file is part of the gendocs module). * bootstrap.conf (maintainer_modules): Add gendocs, so that we can automate the generation of HTML and other documentation for http://www.gnu.org/software/findutils.
* updatedb: Remove support for the old pre-4.0 database format.James Youngman2016-01-101-97/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * locate/testsuite/Makefile.am (EXTRA_DIST_EXP): Remove locate.gnu/old_prefix.exp and locate.gnu/oldformat.exp. (EXTRA_DIST_XO): Remove locate.gnu/old_prefix.xo and locate.gnu/oldformat.xo. * doc/find.texi (Database Formats): Remove the warning about old versions of locate failing to read the LOCATE02 database format. Mention that the slocate database format is also supported. (Old Database Format): Point out that updatedb will no longer produce the old format. (Invoking updatedb): Remove mention of the --old-format option. Remove mention of --dbformat=old. (Long File Name Bugs with Old-Format Databases): Remove this section. * locate/updatedb.sh: remove support for --dbformat=old and --old-format. (checkbinary): Don't look for the bigram and code binaries. * locate/updatedb.1: Explain that support for the old database format has been removed from updatedb and will shortly be removed from locate also. Remove the documentation for the removed option --old-format and mention of --dbformat-old. * locate/code.c: remove since this program was only used to generate old-format databases. * locate/bigram.c: remove since this program was only used to generate old-format databases. * po/POTFILES.in: Remove bigram.c and code.c. * locate/word_io.c (putword): Remove this function, since it was only needed for making old-format databases. * find/find.1 (NON-BUGS): Don't mention bigram.c and code.c in the example. * locate/locatedb.h: Remove declaration of putword, which has been deleted. * locate/Makefile.am (libexec_PROGRAMS): Remove bigram and code (since they were only used to generate old-format databases). (updatedb): Don't substitute @bigram@ and @code@. (code_SOURCES): Delete. * locate/testsuite/locate.gnu/old_prefix.exp: delete test case for the old database format. * locate/testsuite/locate.gnu/old_prefix.xo: Likewise. * locate/testsuite/locate.gnu/oldformat.exp: Likewise. * locate/testsuite/locate.gnu/oldformat.xo: Likewise. * TODO: manpages for bigram and code are no longer needed. * NEWS: Mention these changes.
* maint: update .gitignore files, remove obsolete .cvsignore filesBernhard Voelker2016-01-042-62/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .gitignore (tool-versions.txt): Add entry. (ABOUT-NLS): Change to ... (/ABOUT-NLS): ... this to avoid ./bootstrap adding it again. * build-aux/.gitignore (/ar-lib, /snippet/, /test-driver): Add entries. While at it, use the git-specific '/' prefix on other entries, and sort the file. * doc/.gitignore (/dblocation.texi): Add entry. Prefix other entries with '/' and sort the file. * find/.gitignore (/exec.o, /print.o): Likewise. * find/testsuite/.gitignore (/configured-testfiles.txt, /*.log, /*.trs): Likewise. * lib/.gitignore (check-regexprops, /check-regexprops.log, /check-regexprops.trs, /regexprops.texi.new, /splitstring.o, /test_splitstring, /test_splitstring.log, /test_splitstring.o /test_splitstring.trs, /test-suite.log): Likewise. * po/.gitignore (/Makevars): Add entry. While at it, prefix all other entries with '/', too, to avoid bootstrap adding entries for e.g. "/Makefile.in.in" again. * .cvsignore: Remove file. * build-aux/.cvsignore: Likewise. * doc/.cvsignore: Likewise. * find/.cvsignore: Likewise. * find/testsuite/.cvsignore: Likewise. * lib/.cvsignore: Likewise. * locate/.cvsignore: Likewise. * locate/testsuite/.cvsignore: Likewise. * m4/.cvsignore: Likewise. * po/.cvsignore: Likewise. * xargs/.cvsignore: Likewise. * xargs/testsuite/.cvsignore: Likewise.
* maint: update copyright years.James Youngman2016-01-034-5/+6
| | | | | | | | | | | | * lib/regexprops.c (copying): Update the text so that the copyright years (and the line breaks) match the result of "make update-copyright". * doc/regexprops.texi: Tweak copyright years to match the result of "make update-copyright". * All other files: update copyright years if the file has a copyright statement. * .x-update-copyright: new file, a list of files to exclude from automated copyright updates.
* regexprops: Fix compiler warnings and update copyright years.James Youngman2016-01-031-2/+2
| | | | | | | | | | | | | * lib/regexprops.c (newpara): Function parameter list should be declared as void in the function definition, instead of leaving it blank (C++ style). This fixes a GCC warning controlled by -Wstrict-prototypes. (beginenum): Likewise. (endenum): Likewise. (endtable): Likewise. (copying): Update copyright years. * doc/regexprops.texi: Update copyright years to match the output of regexprops.c.
* Add/elaborate on warning about find -size -1M.Andreas Metzler2016-01-011-2/+5
| | | | | * find/find.1: Elaborate on warning about find -size -1M. * find.texi: Copy warning about find -size -1M from manpage.
* Document that %AT/%AX prints nanoseconds.Andreas Metzler2016-01-011-2/+3
| | | | | | * doc/find.texi: Both %AT and %AX printf format specifiers print nanoseconds since 4.3.3. - Document this. * find/find.1: Likewise.
* Spelling fixes (fixing Savannah bug #8688).Ville Skyttä2015-12-281-1/+1
| | | | | | | | * locate/locate.c: typo fix: whcih * doc/find.texi: typo fix: futher * bootstrap.conf: spelling fix: consistant * NEWS: Mention this change. Copyright-paperwork-exempt: Yes
* Rename find/find.c to find/oldfind.c.James Youngman2015-12-271-1/+1
| | | | | | | | | | | | | * find/Makefile.am (oldfind_SOURCES): rename find.c to oldfind.c. * find/.gitignore: Likewise. * po/POTFILES.in: rename find/find.c to find/oldfind.c * find/defs.h: Change references to find.c to oldfind.c. * doc/find-maint.texi (Factor Out Repeated Code): Likewise. * find/ftsfind.c: Point out that this file is derived from oldfind.c (instead of leaving a reference to the old name of the renamed file). * find/testsuite/config/unix.exp: Look for ftsfind.o instead of find.o when checking that we're really looking at the build directory.
* Use the official FDL license wording in license text.Andreas Metzler2015-12-273-9/+9
| | | | | | | | | | | | * README-hacking (footer): use the official FDL license wording as listed in FDL's "ADDENDUM: How to use this License for your documents". Update copyright year. * NEWS (footer): Likewise. * doc/find-maint.texi: Likewise. * doc/find.texi: Likewise. * doc/regexprops.texi: Likewise. * lib/regexprops.c (copying): Amend the code to emit the updated wording. Update the copyright year.
* Fix menu item ordering in chapter "Coding Conventions".James Youngman2015-12-231-2/+2
| | | | | * doc/find-maint.texi (Coding Conventions): Re-order menu items to match the section ordering.
* gnulib: bring up-to-date with current git head of gnulib.James Youngman2015-12-231-61/+7
| | | | | | | | | This fixes Savannah bug #46715 ("testsuite error with perl 5.22, gnulib outdated"). * doc/regexprops.texi: Regenerate this file from gnulib's changed regular expression dialect definitions regex.h. The effect is for regex types egrep and posix-egrep to become synonyms. * NEWS: Mention this change.
* Add a missing space in an -execdir example in find.texi.Stephane Chazelas2015-12-201-1/+1
| | | | | * doc/find.texi (Problems with -exec and filenames): Add a missing space. Copyright-paperwork-exempt: Yes
* Revert change with badly-formatted change-log entry.James Youngman2015-12-181-39/+0
| | | | This reverts commit db79379e3bae8d3dbdad1400c34a65820bac8cb7.
* Explain how child exit status affects find's exit status.James Youngman2015-12-181-0/+39
| | | | | | | | | | | | | * doc/find.texi (Run Commands): Add a new subsection and menu item, Child Exit Status. (Child Exit Status): New subsection, describing how the exit status of find is affected (or not) by the exit status of the commands run by -exec and similar actions. * find/find.1 (-exec): Explain how the exit status of the child affects (or not) the exit status of find. (-execdir): Likewise. (EXIT STATUS): Likewise. * NEWS: mention these changes.
* Document the behaviour reported in Savannah bug 46305.James Youngman2015-11-011-0/+10
| | | | | | | * doc/find.texi (Symbolic Links): Explain that -L can give surprising behaviour when symbolic links can become broken during the execution of find. * find/find.1 (-L): Likewise.
* Add copyright headers to some files which lack them.James Youngman2015-11-011-0/+14
| | | | | | | | | | | | | | | | | * find/testsuite/excuses.txt: remove spurious character (a typo). * find/testsuite/test_escape_c.sh: Add copyright header. * find/testsuite/binary_locations.sh: Likewise. * find/testsuite/checklists.py: Likewise. * find/testsuite/Makefile.am: Likewise. * find/testsuite/sv-bug-32043.sh: Likewise. * find/testsuite/test_escapechars.sh: Likewise. * find/testsuite/test_inode.sh: Likewise. * xargs/testsuite/Makefile.am: Likewise. * locate/testsuite/Makefile.am: Likewise. * build-aux/Makefile.am: Likewise. * doc/Makefile.am: Likewise. * find/print.h: Likewise. * lib/check-regexprops.sh: Likewise.