summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Backout 1.51 on DES's request.dillon2002-06-261-2/+0
| | | | Approved by: des
* Sort sections, and refer to sed as a utility, not a function.tjr2002-06-251-6/+6
|
* Add ICBM coordinates and birthday reminderperky2002-06-251-0/+1
| | | | | Reviewed by: cjh (mentor) Approved by: cjh (mentor)
* Add support for the 'flipr' option per IEEE 1003.1-2001.mikeh2002-06-252-2/+10
|
* Use strcasestr() instead of reimplementing it.mikeh2002-06-251-45/+18
|
* Make the 'searchheaders' option behave how it was supposed to. Ifmikeh2002-06-253-11/+16
| | | | | | enabled, the string '/to:y' will match strings in the To, Cc, and Bcc header fields. Whereas, '/To:y' will match only the To field. Edit the manpage and a code comment to indicate the correct behavior.
* Rearrange a little, specifically:mikeh2002-06-251-86/+131
| | | | | | | | | | - removed "Option string values" section and divided up amongst mail options and environment section - expanded environment section - rearranged mail options - added default values to the mail options for clarification Reviewed by: ru
* Remove deprecated register qualifier.jmallett2002-06-247-40/+40
|
* Better warnings fixes. Use more sane argument types instead of bogus castsmarkm2002-06-241-3/+3
| | | | Submitted by: bde
* Fix unaligned access error.naddy2002-06-241-3/+6
| | | | Reviewed by: ticso
* Fix off by one in `y' (transliterate) command which caused the last charactertjr2002-06-241-1/+1
| | | | | | of the pattern space not to be examined. Noticed by: Motoyuki Konno <motoyuki@bsdclub.org>
* Make egetopt() return -1 not EOF, as getopt(3) do.charnier2002-06-231-4/+4
| | | | Reviewed by:markm
* Document the fairly obvious effect of the PATH environment variable.tjr2002-06-231-0/+8
|
* Make the Examples section consistent with the rest of the system manualtjr2002-06-231-5/+5
| | | | | pages: description of command first, then command as typed (no shell prompt) using Dl macro.
* add DIAGNOSTICS sectioncharnier2002-06-231-1/+1
|
* Only got one of the Perl usages.obrien2002-06-231-2/+3
|
* Replace a perl usage with an AWK one.obrien2002-06-231-1/+1
| | | | Submitted by: Bob Willcox <bob@immure.com>
* Stylistic nit:jmallett2002-06-221-5/+5
| | | | | main()'s argv argument is char*[], and functions that may inherit that arg should use char*[] as well.
* Check for results of repeated calls to strnsubst(), as well as for thejmallett2002-06-221-6/+17
| | | | behaviour with NULL match string, as that has changed over time.
* When giving an example that relies on shell expansion/globbing, don't use ajmallett2002-06-221-1/+1
| | | | | | replstr for -J that will be interpereted by the shell. MFC after: 1 day
* Now that the pattern space contains no trailing newline, modify the `l'tjr2002-06-221-1/+5
| | | | command's output so it's the same as what SUSv3 specifies.
* Don't store newlines at the end of each line in the hold/pattern spaces,tjr2002-06-222-11/+12
| | | | | | | | instead add the newline when the pattern space is printed. Make the `G' and `H' commands add a newline to the space before the data, remove bogus addition of newline from `x' command. PR: 29790, 38195
* Better fix for style.markm2002-06-211-6/+6
| | | | Suggested by: ru (but modified a bit by markm)
* Fix warnings generated elsewhere.markm2002-06-211-1/+1
|
* Style tidy-up.markm2002-06-211-2/+4
|
OpenPOWER on IntegriCloud