summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Don't depend on pollution in <limits.h> for the definition ofmike2002-07-051-0/+1
| | | | <stdint.h> macros.
* Correct the History section; uniq(1) appeared at least as early as V3.tjr2002-07-051-4/+5
| | | | Move the section to after Standards.
* Remove redundant description of input_file and output_file arguments.tjr2002-07-051-4/+0
|
* Use err instead of errx when malloc fails. "malloc" is not a helpfultjr2002-07-053-7/+13
| | | | error message.
* Restore copyright and RCSID.johan2002-07-041-6/+11
| | | | | | | Remove duplicate $FreeBSD$, $NetBSD$. Submitted by: mike Approved by: sheldonh (mentor)
* Update another mention of <CR><CR> I missed the first time around (rev 1.2)tjr2002-07-041-1/+1
|
* Reconnect whereisjohan2002-07-031-0/+1
| | | | Approved by: sheldonh (mentor)
* Switch to c versionjohan2002-07-031-1/+1
| | | | Approved by: sheldonh (mentor)
* compact synopsisjohan2002-07-032-3/+2
| | | | | | | s/program [program ...]/program .../ s/program [...]/program .../ Approved by: sheldonh (mentor)
* Remove -p flag.johan2002-07-032-33/+16
| | | | | | | | | OpenBSD's implementation lacks -p, and we don't want to support the option now, only to lose it if/when we later switch to OpenBSD's implementation. This functionality is provided by which(1). Approved by: sheldonh (mentor)
* Add __FBSDID.johan2002-07-031-7/+2
| | | | | | Remove __COPYRIGHT, __RCSID which caused an assembler warning. Approved by: sheldonh (mentor)
* Change to NetBSDs version of whereis.johan2002-07-032-86/+160
| | | | | Approved by: sheldonh (mentor) Obtained from: NetBSD
* Disconnect whereis while importing version from NetBSDjohan2002-07-031-1/+0
| | | | Approved by: sheldonh (mentor)
* Note that two carriage returns aren't required after entering thetjr2002-07-031-2/+3
| | | | | | initial setup anymore (since process.c rev. 1.25). Add $FreeBSD$. MFC after: 2 weeks
* Avoid checking whether each line is the last line of the file when we don'ttjr2002-07-033-25/+29
| | | | | | | | | need to know. Instead, check when we are trying to match a "$" address. This does not change the way sed processes regular files, but makes it behave more sensibly when used interactively. PR: 40101 MFC after: 2 weeks
* Don't let the pattern space become null if the `x' command is used when thetjr2002-07-031-0/+2
| | | | | | hold space is null; some functions assume it's never null. MFC after: 3 days
* mdoc(7) police: added missing markup bits, lowercased argument names.ru2002-07-031-5/+7
|
* fixed typo.suz2002-07-031-2/+2
| | | | | obtained from: KAME MFC after: 3 days
* Fix grammar in 1 sentencetrhodes2002-07-021-3/+3
| | | | | | Reword 'Usually faster in most cases' to 'and is faster in most cases' PR: 40024 (partly)
* Reimplemented bsd.nls.mk using bsd.files.mk and bsd.links.mk.ru2002-07-021-8/+3
| | | | | | | | | | | | Provided the (previously missing) dependency on source files for intermediate .msg files. Provided the default for NLSSRCDIR (defaults to .CURDIR). Slightly changed the API: NLS should now list plain locale names, without the .msg suffix. When included from bsd.prog.mk, NLSNAME defaults to PROG.
* Add -g option, which restricts printing of the gecos fields to just the user'smini2002-07-025-5/+23
| | | | | | | | | real name. PR: bin/39462 Submitted by: Mike Makonnen <makonnen@pacbell.net> Obtained from: NetBSD MFC after: 1 week
* Back out my minorly disputed and possibly not well thought out changes to howjmallett2002-07-011-7/+7
| | | | arguments are processed, at least temporarily.
* Modernise; ISOify, use __FBSDID(), use headers instead of hand-declaring.markm2002-07-011-12/+13
| | | | Fix easy warnings.
* Add my DoBjohan2002-07-011-0/+1
| | | | Approved by: sheldonh (mentor)
* Declare environ as char **environ like in environ(7), not char *environ[].tjr2002-07-011-1/+1
| | | | | | | | This corrects a problem whereby xargs could not walk the environment table to count the amount of space it used, and treated it as if it were empty. This problem was introduced in rev 1.15. MFC after: 2 days
* Nuke src/usr.bin/help in favor of projects/sccs/help (repo copied).jmallett2002-06-302-174/+0
|
* Minor cleanup: ANSI C function declarations, use argc after getopt(3) to checkjmallett2002-06-301-11/+12
| | | | | | | for remaining arguments, rather than checking for *argv being a boolean truth. Instead of using an empty case to check for -f- to mean "read stdin", and have stdin reopned otherwise, use a FILE* for the mbox, and assign it to stdin when we mean to use stdin, otherwise fopen(3). Kill `register' qualifier.
* Make it possible to have this (basename(1)) perform basename(3) on multiplejmallett2002-06-302-8/+50
| | | | | | | | | | files. The traditional behaviour, 'basename string .suffix', is preserved, however a suffix may now also be specified via a getopt(3) option, -s, such that if it is specified in that way, all string arguments follow. There is also a new flag, -a, which allows a user to say "yes, please basename(3) on all arguments". Update manual to reflect this unobtrusively. Reviewed by: obrien
* Consistently wrap CSRG SCM ID.obrien2002-06-303-4/+6
| | | | Requested by: bde
* Handle relative and absolute pathnames (anything with a `/' in it) in the sametjr2002-06-301-1/+1
| | | | | | way as execve(2), and the old perl which(1). PR: 35718
* Treat empty PATH elements as "." for tradition and consistency with thetjr2002-06-301-1/+3
| | | | | | old Perl which(1) script. PR: 35719
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* Consistently use FBSDIDobrien2002-06-30109-208/+222
|
* Untie help and sccs from the build. sccs has been repo copied intojmallett2002-06-297-3689/+0
| | | | | | | | | | projects/sccs/sccs/, to accompany projects/sccs/sccscmds, and help will be dying shortly. These programs will not be a part of 5.0-RELEASE, at least not in their current form. They'll either end up in src/contrib or ports. Submitted by: obrien
* Avoid truncating filenames with snprintf().tjr2002-06-291-2/+5
|
* Simplify TERM handling since now libutil not overwrites existen TERM for "term"ache2002-06-281-3/+1
|
* Refer to utilities, not commands, for consistency with env(1), nice(1), etc.tjr2002-06-282-8/+8
|
* Document the fairly obvious effects of the PATH environment variable.tjr2002-06-283-1/+25
|
* Discourage use of env(1)'s "-" flag by moving its description to thetjr2002-06-282-6/+8
| | | | Compatibility section of the manual page.
* Overwrite "term" from login.conf(5) for any known TERMache2002-06-281-2/+9
|
* Add my entry to the mojo file.dillon2002-06-281-0/+1
|
* add my entry.cjh2002-06-281-0/+1
|
* Increment morefiles, balance braces. This should really be using getopt(3).jmallett2002-06-271-2/+3
|
* Instead of not using argc and doing other great evil, check for no argumentsjmallett2002-06-271-5/+6
| | | | | in main() and print usage, or if there are too many arguments, handle that there, too.
* Update my name here, pointed out by grep(1).jmallett2002-06-271-1/+1
|
* Indicate that the semicolon that terminates argument lists should be intjr2002-06-261-2/+8
| | | | its own argument for -ok and -okdir.
* Make it more obvious that the semicolon that terminates -exec and -execdirtjr2002-06-261-2/+8
| | | | | argument lists must be in an argument by itself, not on the end of the previous one.
* Make limits(1) aware of the new vmemoryuse resource limit.dillon2002-06-262-16/+37
| | | | Submitted by: sheldonh
* Fix mdoc nits in preparation for RLIMIT_VMEM support:sheldonh2002-06-261-3/+5
| | | | | | | * add missing Ar macro for one instance of limitflags * fix indentation problem (not perfect, but then this is one _very_ awkward manpage mark up properly)
* This is Alexander Kabaev's patch to solve the signal problem with sudillon2002-06-261-0/+11
| | | | | | | (see 'zsh exits upon ^C' thread). This may be temporary be he's been running it for a year without incident so we should be golden with it. Approved by: des
OpenPOWER on IntegriCloud