Commit Graph

134 Commits

Author SHA1 Message Date
Kevin Dalley
da4093813c GNU findutils package version 4.1 1996-02-04 20:35:04 +00:00
James Youngman
b99109f921 Applied tiny change from Ralf Wildenhues and updated the gnulib version 2008-02-13 23:52:04 +00:00
James Youngman
ca9d2f5d00 Better documentation for the use of 'sh -c' from xargs 2008-02-09 10:58:20 +00:00
James Youngman
a645751a81 Reap child processes sooner in order to reduce resource usage 2008-01-07 01:23:49 +00:00
James Youngman
4af5f5eed5 Backed out the positional parameter change because it was too error prone and over-complex 2007-12-20 21:53:55 +00:00
James Youngman
7447087e11 Installed typo fix from Jakub Bogusz 2007-12-20 10:10:59 +00:00
James Youngman
f7dc6a9f0b Enhancements to format strings in hman-readable messages intended to allow better translation 2007-12-19 21:16:33 +00:00
James Youngman
1f3ae88dce More examples in the xargs manpage, including an analogue for BSD's xargs -o 2007-12-08 13:26:50 +00:00
James Youngman
a5b16eaeba Options should be bold, not italic; filenames should also be italic. OPTIONS should be a section, not a subsection. 2007-11-22 08:20:47 +00:00
James Youngman
1bd53425e8 Fixed Savannah bug #20547, version information not compliant with GNU coding standard 2007-07-22 13:08:22 +00:00
James Youngman
1c43fc92b5 Migrated from GPL version 2 to GPL version 3 2007-07-02 08:25:45 +00:00
James Youngman
4e98ad8e44 Use verify_true for validating constant conditions rather than assert, because the latter is only checked at runtime and eats CPU time 2007-06-30 13:15:33 +00:00
Eric Blake
ad5a6bbefd Allow 'make check' to work without prior 'make all'.
* find/Makefile.am (SUBDIRS): Build in . before testsuite.
* locate/Makefile.am (SUBDIRS): Likewise.
* xargs/Makefile.am (SUBDIRS): Likewise.
2007-06-28 17:20:39 +00:00
Eric Blake
54e0a7f525 Fix Savannah bug #20273, xargs -E with seekable stdin.
* import-gnulib.config (modules): Sort, add closein.
* xargs/testsuite/Makefile.am (EXTRA_DIST_EXP, EXTRA_DIST_XO)
(EXTRA_DIST_XI): Add new test.
* xargs/testsuite/config/unix.exp (xargs_start): Support optional
argument to allow test to run a subshell.
* xargs/testsuite/inputs/sv-bug-20273.xi: New file.
* xargs/testsuite/xargs.posix/sv-bug-20273.xo: Likewise.
* xargs/testsuite/xargs.posix/sv-but-20273.exp: Likewise.
* xargs/xargs.c (main): Use close_stdin, not close_stdout.
* NEWS: Document the fix.

Added a maintenance manual.
* doc/Makefile.am (info_TEXINFOS): Added doc/find-main.texi.
* doc/find.texi (Introduction): Fixed typo.
2007-06-28 13:06:43 +00:00
James Youngman
f7671dc609 Fix Savannah bug #20263 (compilation err on DEC OSF/1. Include <sys/stat.h> in files where where we use struct stat. Removed some dead code following some calls to assert(0), which are now backed up by abort calls. Use assert (0) rather than assert (false). Make sure we include the space. 2007-06-26 08:24:19 +00:00
James Youngman
6e06a9fc28 Ignore the usually-ignored files in git 2007-06-24 16:47:40 +00:00
James Youngman
5a7e83f1d7 Fixed various lint complaints pointed out by build-aux/src-sniff.py 2007-06-21 23:41:08 +00:00
James Youngman
533c213ce3 Savannah bug #19965, compile with uintmax_t missing. Also explain Savannah bug #19969 (rc-125.exp fails) and avoid including errno.h in defs.h. 2007-05-26 10:37:26 +00:00
James Youngman
0e690b5fe6 Fixed Savannah bug #19871 (spurious .R directives in the manual page for find) 2007-05-19 13:02:00 +00:00
James Youngman
b130c9b90b Fixed Savannah bug #18203 (find error messages can garble the console) 2007-04-29 16:05:59 +00:00
James Youngman
3d2128d30c Simplifythe calculation of the defautl value of xargs's -s option. Avoid an assertion failure on AIX when _SC_ARG_MAX is larger than LINE_MAX 2007-04-28 14:27:40 +00:00
James Youngman
16f19739c8 Applied patch from Eric Blake fixing Savannab bug# 19660 2007-04-22 16:14:49 +00:00
James Youngman
f50b252cfb Make the test suite fail if it cannot find the binary (as opposed to testing the system binary) 2007-04-15 18:58:31 +00:00
James Youngman
c35ae8fabb Warn the user that echo will be run at least once if stdin is a tty for xargs --show-limits. Also, find -quit has a 100% success rate. 2007-03-25 10:58:34 +00:00
James Youngman
70f1a3d1ea New method of checking out and configuring gnulib - define which version we need to use, and remember which version we used 2007-02-28 23:55:47 +00:00
James Youngman
c7ca8e10f2 Eliminated a few compiler warnings 2007-02-25 12:05:51 +00:00
James Youngman
5aeeed8a2f Describe how xargs handles trailing blanks 2007-02-24 14:12:50 +00:00
James Youngman
9aa1574ea7 Use an enum rather than proprocessor macro values for the lexer state. 2007-02-24 13:57:31 +00:00
James Youngman
6412b03606 Fixed Savannah bug #18714 2007-01-13 18:17:55 +00:00
James Youngman
6024359695 Removed suprious "[" in xargs --help output (fixes Savannah bug #18384). 2007-01-13 16:13:29 +00:00
James Youngman
1e8c74c948 xargs: correctly handle quoted empty arguments occurring first or last on a line (by adding an empty argument to the output). Fixes Savannah bug #18713. 2007-01-07 18:09:33 +00:00
James Youngman
17f429eb0a Merged some changes from the 4.2 branch:
Describe what happens if you do "find -printf %" (with a single % at
the end of the format).  Added test case for "find -printf %H".  Fixes
for "find -perm" with X.  Better range checking in frcode.c.  Tests
for long initially-identical prefixes in frcode.c and that it
correctly encodes paths with mroe than 2^16 characters in comon in the
prefix.  Also initial spaces.  Added --show-limits to the xargs help
message and manpage.
2006-08-20 20:39:48 +00:00
James Youngman
678d7d0c2b Removed unused code (tivial patch from Miloslav Trmac). 2006-08-07 11:05:59 +00:00
James Youngman
afd3f429f1 Fixed Savannah bug#16738, find does not subtract environment size in find .. -exec {} + 2006-08-05 18:02:54 +00:00
James Youngman
7046234c8b Fixed many compilation warnings 2005-12-23 18:24:20 +00:00
James Youngman
0fb6853f15 Fixed spelling errors in Bob Proulx's name. Sorry, Bob. 2005-12-11 17:55:47 +00:00
James Youngman
a024756bfe Merged latest changes from 4.2.x branch 2005-12-05 07:56:00 +00:00
James Youngman
300c28f214 Merged latest changes from 4.2.x branch 2005-11-29 19:50:16 +00:00
James Youngman
b070e1fff0 Prefer the word 'Invalid' or the phrase 'not allowed' over 'Illegal', as per the GNU coding standards, and as per the suggestion from Benno Schulenberg 2005-11-29 07:21:41 +00:00
James Youngman
dd0afc6850 Merged changes from the 4.2.x branch 2005-11-23 07:06:13 +00:00
James Youngman
db906d83c3 Applied all the trunk changes (up to this point) to the 4.3.x sources 2005-11-21 04:00:13 +00:00
James Youngman
43eb85a718 Added the --delimiter option to xargs, resolving Savannah support request sr #102914 2005-09-03 12:49:16 +00:00
James Youngman
1343d0154c Work around problems with CVS clients on case-insentitive operating systems 2005-08-07 19:14:36 +00:00
James Youngman
d2c25bbb37 Work around problems with CVS clients on case-insentitive operating systems 2005-08-07 19:07:58 +00:00
James Youngman
87608901f3 Work around problems with CVS clients on case-insentitive operating systems 2005-08-07 19:00:48 +00:00
James Youngman
62f4b62df7 Work around problems with CVS clients on case-insentitive operating systems 2005-08-07 18:52:35 +00:00
James Youngman
fa732af632 Added new test case 'childfail.exp'. 2005-07-27 15:30:34 +00:00
James Youngman
3ec88a716d Fix Savannah bug #13878, in which xargs deals incorrectly with child failure, returning 0 when it should return 123 2005-07-22 20:44:46 +00:00
James Youngman
0b1f485a14 Tiny patch from Andreas Metzler: xargs -I is like xargs -i, but the latter is deprecated 2005-07-10 01:51:21 +00:00
James Youngman
bc60093b97 Assume unistd.h is present - avoid using HAVE_UNISTD_H 2005-07-02 09:54:34 +00:00