summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
|
OpenPOWER on IntegriCloud