[PATCH 2/6] maint: add new bugreports.c to POTFILES.in

2016-02-16 Thread Bernhard Voelker
* po/POTFILES.in (lib/bugreports.c): Add entry. --- po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) diff --git a/po/POTFILES.in b/po/POTFILES.in index f6b7aed..f40778c 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -16,6 +16,7 @@ find/pred.c find/print.c find/tree.c find/util.c +lib/

[PATCH 3/6] maint: adjust .gitignore files

2016-02-16 Thread Bernhard Voelker
* lib/.gitignore: Use pattern for prominent suffixes like *.o, *.log and *.a; an entry for the new intermediate file bugreports.o was missing here. Sort file. * locate/.gitignore (bigram,code,bigram.o,code.o): Remove, as these programs have been removed with commit v4.6.0-44-g89ec021. * find/.giti

[PATCH 6/6] build: stop distributing gzip'd releases; xz is enough

2016-02-16 Thread Bernhard Voelker
* configure.ac (AM_INIT_AUTOMAKE): Add no-dist-gzip and dist-xz. * NEWS (Build-related): Mention that we're dropping .tar.gz. --- NEWS | 4 configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 16477dc..009b7a3 100644 --- a/NEWS +++ b/NEW

[PATCH 0/6]: usage change et al

2016-02-16 Thread Bernhard Voelker
It took a bit longer than expected, sorry. This series of patches addresses various smaller issues, and the point is [PATCH 4/6]. [PATCH 1/6] maint: avoid syntax-check failures [PATCH 2/6] maint: add new bugreports.c to POTFILES.in [PATCH 3/6] maint: adjust .gitignore files [PATCH 4/6] all: outpu

[PATCH 1/6] maint: avoid syntax-check failures

2016-02-16 Thread Bernhard Voelker
'make syntax-check' failed with: locate/word_io.h: maint.mk: the above files include assert.h but don't use it maint.mk:479: recipe for target 'sc_prohibit_assert_without_use' failed ... lib/bugreports.h: maint.mk: empty line(s) or no newline at EOF maint.mk:929: recipe for target 's

[PATCH 4/6] all: output full usage only when requested via the --help option

2016-02-16 Thread Bernhard Voelker
When there are invalid options or arguments, all utilities printed the full usage in addition to the original error diagnostic. The quite large text distracted the user's attention from the error message. * find/defs.h (usage): Mark as _GL_ATTRIBUTE_NORETURN, and remove the arguments FP and MSG.

[PATCH 5/6] doc: improve description of the -D option in find.1

2016-02-16 Thread Bernhard Voelker
* find/find.1 (-D): Change argument name from "debugoptions" to "debugopts" to match the synopsis, thus making searching in the man page easier. While at it, sort possible arguments alphabetically. --- find/find.1 | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) d

Re: find -f -, please?

2016-02-16 Thread Eric Blake
On 02/15/2016 02:44 PM, Marc Chantreux wrote: > > because the line exceed the max size of a command so i wrote > > a-very-long-list-of-files | > xargs -IX find X -prune -type f -name '*scm' > > which works fine regardless the fact the find command was started for > all single file (-