summaryrefslogtreecommitdiffstats
path: root/usr.bin/xargs
Commit message (Collapse)AuthorAgeFilesLines
* In the case where we can't open /dev/tty, fall back to -t behaviour.jmallett2002-04-191-9/+7
| | | | Submitted by: fenner
* Bump WARNS to 4.jmallett2002-04-191-0/+1
|
* Compound two fprintf(3)s into 1 using string concatenation.jmallett2002-04-191-2/+1
|
* After 3 months...jmallett2002-04-194-44/+272
| | | | | | | | | | | | | | | | | Merge xargs(1) with that of xMach. Bring in xargs(1) changes to add -L and -I as per the Single Unix Specification version 3. Proper exit status numbers are implemented, and the manual page has been updated to reflect reality. The code has been ANSIfied, and a new file has been added to xargs(1) to do the substring substitution as SUSv3 requires. Traditional behaviour should not be affected, use of -J should be deprecated in favor of the more portable -I (though -J has been left, for now). Submitted by: me, tjr (the exit status stuff) Obtained from: xMach
* ANSIfy: Function declarations and prototypes, use of environ(7).jmallett2002-03-151-9/+8
| | | | | Reviewed by: mike Approved by: mike
* Change back to using vfork() now that execvp() is vfork()-safe. If execvp()des2002-03-091-7/+10
| | | | | | | | fails, errno is saved to a volatile variable that the parent later inspects. PR: bin/34898 Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> MFC after: 1 week
* Leave the `copyright' variable exposed, since the main purpose of itmike2002-03-071-2/+2
| | | | | | is to put a copyright in the object file. Submitted by: bde
* Fix vendor ID (mostly obtained from Rev 1.1).mike2002-03-051-7/+8
|
* WARNS=2 fixes, remove register keyword, use __FBSDID()markm2001-12-111-10/+14
|
* Spelling police: extention -> extension.dd2001-07-051-1/+1
|
* Add a -J replstr option that allows the user to tell xargs to insertdd2001-05-152-6/+68
| | | | | | | | the data read from standard input at a specific point in the command line arguments rather than at the end. Submitted by: dd, gad Reviewed by: gad, brian
* Alphabetize command-line options in the synopsis.dd2001-05-021-1/+1
|
* mdoc(7) police: Fixed typo and markup in rev.1.11.ru2001-04-131-2/+2
|
* o The -s limit is ARG_MAX - 4K, not ARG_MAX - 2K.brian2001-04-101-4/+14
| | | | | | | | | | | | | | | | | | o Mention that the current environment is part of the -s calculation. o Add a BUGS section that warns against executing a program that increases the size of the argument list or the size of the environment. I have wondered for a while what the difference is between get a big list | xargs sudo command which fails and get a big list | sudo xargs command which succeeds. The answer is that in the first case, sudo expands the environment and pushes the amount of data passed into execve over the E2BIG threshold.
* Prepare for mdoc(7)NG.ru2000-12-271-2/+3
|
* Prepare for mdoc(7)NG.ru2000-12-191-1/+0
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Use .Xrcharnier2000-03-261-2/+2
|
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* xargs was spliting the input in a very different way from everyone else,jmz1999-05-231-20/+15
| | | | | | | | and was also a bit inconsistent: leading blanks, or any double blanks generated empty arguments, but a trailing blank did not. PR: bin/2630, bin/10914 Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
* Calls one or more of malloc(), warn(), err(), syslog(), execlp() ordes1998-10-131-3/+3
| | | | | | | | | | | execvp() in the child branch of a vfork(). Changed to use fork() instead. Some of these (mv, find, apply, xargs) might benefit greatly from being rewritten to use vfork() properly. PR: Loosely related to bin/8252 Approved by: jkh and bde
* Remove compile time dependency on ARG_MAX.jkoshy1998-06-171-3/+5
| | | | | | | | This fix only removes the dependency on compile time constants. The code has other (old) problems that need to be addressed. PR: 1791 Reviewed-by: bde, tegge
* Submitted by: Peter Hawkins <peter@clari.net.au>danny1997-12-131-1/+1
| | | | Spelling police.
* Use err(3) instead of local redefinition.charnier1997-08-272-56/+30
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Reviewed by: Warner Losh <imp@village.org>imp1996-11-012-5/+29
| | | | | | | Submitted by: Marc Slemko <marcs@znep.com> Obtained from: OpenBSD Add -0 for reading the results of find -0.
* Make xargs take into account the bytes occupied by the environment.asami1996-03-051-3/+7
| | | | Original by: peter
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-274-0/+527
OpenPOWER on IntegriCloud