summaryrefslogtreecommitdiff
path: root/usr.bin/xargs
AgeCommit message (Collapse)Author
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2010-03-25Regarding -L, consider a line ending in unescaped white space and the nextIngo Schwarze
non-empty line to form one single line, as required by XPG 4. While here, use isblank(3) to identify white space instead of assuming that only blank and tab are white space characters. Geoff Clare <gwc at opengroup dot org> agrees that the standard for -L should say "A line is considered to end with the first <newline> unless the last character of the line is an *unescaped* <blank>; an *unescaped* trailing <blank> signals continuation to the next non-empty line, inclusive." The word *unescaped* is missing from the standard, but we regard that as a goof in the standard. Bug noticed by, much feedback from, and "should go in now" guenther@
2010-02-04xargs -I and -L are XPG4, not POSIX; ok jmc@Ingo Schwarze
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-10-22use the UNIX-related macros (.At and .Ux) where appropriate.Igor Sobrado
ok jmc@
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
- note which options are extensions to POSIX
2006-08-12a variation of netbsd -r1.18:Jason McIntyre
PR/34182 from der Mouse -- clarify -0 option
2006-07-24Use 'cp -R' instead of 'cp -r' in the example of the -J option.Bernd Ahlers
ok jmc@
2006-02-14Put commas in right places, from Ray Lai.Otto Moerbeek
2006-02-14Document that -0 is an non-standard extension (sad but true).Otto Moerbeek
ok millert@
2005-12-01lint makes it easy to find these really bad ones, like size_t n = snprintfChad Loder
2005-11-01spacingTheo de Raadt
2005-09-26terminate the buffer before calling regexec(3) when prompting forFederico G. Schwindt
confirmation. fixes a crash with malloc options; otto@ ok.
2005-09-12- add -r to usage()Jason McIntyre
- the description of -p uses `maxprocs' as the arg identifier, as does usage(), so use it in SYNOPSIS too;
2005-09-10Make xargs run [utility] program even when zero arguements are provided,Brad Smith
makes xargs POSIX compliant. Original diff from jason@, better diff provided by millert@ Resolves PR 4262 ok deraadt@ millert@
2005-06-20KNFTodd C. Miller
2004-08-23Make behavior if the utility was not found or could not be executedTodd C. Miller
match the documentation. The old code was making assumptions about how vfork() is implemented which are not valid on OpenBSD. From Jason Ish.
2003-08-15Fix typo (errx vs. err) for malloc failures; Andrey MatveevTodd C. Miller
2003-07-15can't use err after vfork. ok millertTed Unangst
2003-06-13Close correct fd after dup2(); Maxime HenrionTodd C. Miller
2003-06-12tweak;Jason McIntyre
ok millert@
2003-06-12Check snprintf rval for -1Todd C. Miller
2003-06-12Add the -o option to the getopt() string; missed in last commit.Todd C. Miller
2003-06-12Sync with FreeBSD's xargs plus some fixes by me. This makes usTodd C. Miller
POSIX-compliant and adds some useful extensions. Most of the work in FreeBSD was done by jmallett.
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-02-18Don't require the -n flag if -x is specified. This is consistent withTodd C. Miller
the manual page as well as xargs on other operating systems.
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-19kill more registersMike Pechkin
millert@ ok
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-03-14Finish off cleanup usr.bin/ man pages.Aaron Campbell
2000-01-20Default value for -s option is ARG_MAX - 4096, not - 2048; enamiTheo de Raadt
1999-08-18formattingAaron Campbell
1998-10-30usr.bin/ man page fixes, t-zAaron Campbell
1998-06-23use sysconf() to get ARG_MAXTheo de Raadt
1998-04-26indentTheo de Raadt
1997-12-13spelling; peter@clari.net.auTheo de Raadt
1997-11-04use sys_signame to print the signal info; cgdTheo de Raadt
1997-09-21$OpenBSD$Theo de Raadt
1997-09-12s/;;/;/Theo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-26rcsidTheo de Raadt
1996-06-11-print0 in find, not -0Theo de Raadt
1996-06-11add -0 option, written by meTheo de Raadt
1995-11-15zap some rcsmerge stuffTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt