| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
to ANSI C. Use new source ID scheme.
|
| |
|
|
|
|
|
|
|
|
| |
indicates that not everything worked as expected. Exit non-zero if we
timed out while transmitting or receiving a file or if the file did
not exist, etc.
MFC After: 3 days (re@ willing)
|
|
|
|
|
|
| |
environment variable that specifies the name of the strip(1)
program to use. The envvar is "STRIPBIN". The more natural
choice would be "STRIP", but that one is taken already.
|
|
|
|
|
| |
K&R style main() makes gcc emit a warning about missing prototypes so
switch to ANSI.
|
| |
|
|
|
|
|
| |
sparc64 the same as the other platforms -- so do it by moving the other
platforms toward the sparc64.
|
| |
|
|
|
|
|
| |
PR: 35449
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
|
| |
|
|
|
|
|
|
|
|
| |
found, 126 if the execvp() failed for any other reason.
Similar to rev. 1.6 to src/usr.bin/env/env.c
Reviewed by: mike
|
|
|
|
|
|
|
|
|
|
|
| |
-H option (show column headings),
-T (show mesg(1) state),
-m (same as "am I"),
-u (show idle time),
-q (quick mode; list names in columns).
PR: 36128
Reviewed by: mike
|
|
|
|
|
| |
PR: docs/37757
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
|
| |
|
|
|
|
| |
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
| |
timestamp.
Reviewed by: markm
|
| |
|
|
|
|
| |
Sponsored by: DARPA, NAI Labs
|
| |
|
|
|
|
| |
Sponsored by: DARPA, NAI Labs
|
| |
|
|
|
|
| |
Add a note that this is kinda-sorta dangerous to the manual page.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Perl for such things. The key difference to Perl is that a backup extension
*MUST* be specified, because on one hand it isn't recommended to have options
which optionally take a parameter, and on the other hand, it'd be slightly
unpleasent to implement proper handling for that.
The difference between this and the version posted to developers@ is that it
does handle multiple files in argv after the getopt(3) handling "correctly",
in that the inplace editing-specific code has been moved out to a function,
and that function is used beyond the first file in our linked list.
This option has been documented as FreeBSD-specific in the manpage.
Reviewed by: developers@ (got feedback from: des, fanf, sobomax, roberto,
obrien)
MFC after: 1 week
|
|
|
|
| |
Reviewed by: dwmalone (mentor)
|
|
|
|
| |
Problem found by: ken
|
|
|
|
|
|
|
|
|
|
| |
Write status information to stdout instead of stderr.
Exit status when an error occurs musn't be 1, that is reserved for
indicating that messages are disabled.
These changes bring mesg(1) up to SUSv3 conformance.
Reviewed by: mike
|
|
|
|
|
| |
a line of input, and both work differently, so prevent them from both being
passed to xargs(1).
|
|
|
|
|
|
|
|
|
| |
back on (and count_win is recreated).
- Create info_win as the same size for all invocations.
PR: 37552
Submitted by: Mark Valentine <mark@thuvia.demon.co.uk>
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
left-hand-side.
PR: bin/5297
Submitted by: "Matthew Emmerton" <matt@gsicomp.on.ca>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
the prompt in their native language.
Also make the prompt fit what POSIX asks for (?...).
This should not affect use of -p with yes(1) [as every locale I know of matches
'y' as YESEXPR as well], but that's what -t is for anyway. -p is meant to be
really used interactively.
Submitted by: tjr, jmallett
|
|
|
|
|
|
| |
Submitted by: Carl Schmidt <cschmidt@slackerbsd.org>
Wrap an obscenely long line while I'm here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
out the parse loop to a seperate function, and move local variables around as
is needed. To keep the state of some variables and keep from having huge arg
lists to functions, make a bunch global.
Change use of err(3) in situations where malloc(3) will be setting errno to
errx(3) since assuming malloc(3) sets errno is non-portable, and provides no
more useful information in the context of FreeBSD.
Submitted by: bde (err/errx), Carl Schmidt <cschmidt@slackerbsd.org> (some
of the movement of the input loop to a function)
Approved by: src/tools/regression/usr.bin/xargs
|
|
|
|
|
|
| |
the granularity of the at queue runs.
Submitted by: mux
|
|
|
|
| |
Approved by: alfred
|
|
|
|
| |
Submitted by: Carl Schmidt <cschmidt@slackerbsd.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
argument list to NULL, to terminate the arguments passed
to execvp(2).
Thanks to: bde (for pointing out some missing parens)
And with apologies to Ozzy Osbourne:
On his way to dinner
It took him by surprise
When an email from bde
Said his code was full of lies
Style (indentation)
And his bracing were all wrong
He casted to size_t
When he should have cast to long
I don't mind
Single letter identifiers
Unwrapped Line
Over 80 chars
Far over 80 chars
Who can we get to send diffs
We need Bruce D. Evans
Shows you comparason to his
We need Bruce D. Evans again
|
|
|
|
|
|
|
| |
to `op' as suggested by Bruce, as this is used to store the operator between
vl and vr.
Submitted by: bde
|
|
|
|
|
|
|
| |
s1 was 0 length, and replstr was 0 length, etc., we would end up subtracting
one from zero and seeing if it was greater than the size_t (unsigned) var
maxsize... This would cause us to return a string consisting of essentially
only match, which is not the right behaviour if we have 0 length inpline.
|
|
|
|
|
|
|
| |
it. It handles everything (right now) that needs done before run(), except
the -J case, because while that would be easy, I don't quite understand -J.
Reviewed by: src/tools/regression/usr.bin/xargs
|
| |
|
|
|
|
|
|
|
|
|
| |
it easier to understand. Making it easy to understand isn't all that easy,
so litter the code with comments so some other poor soul can come along some
day and work on this if they see fit to do so. Avoid calling strlen(3) to
check for a nil-string, when we can just check for *str=='\0'.
Approved by: src/tools/regression/usr.bin/xargs/
|
| |
|
|
|
|
| |
Requested by: bde, mike
|
|
|
|
|
|
| |
Add __FBSDID() properly.
Requested by: bde, mike
|
|
|
|
|
|
|
|
|
| |
by SUSv3.
This Makefile got left out of the previous commit.
PR: 36191
Reviewed by: mike
|
|
|
|
|
|
|
| |
by SUSv3.
PR: 36191
Reviewed by: mike
|
|
|
|
|
| |
take care of them), and add __FreeBSD__ to the defined() checks for the
_PATH_DIVNAME.
|
| |
|