summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Modernise this code by rounding up the usual suspects: register keyword,markm2002-06-212-120/+87
| | | | | | consts, ANSIfication of functions, proper use of __FBSDID() and so on. This commit is non-functional from a code-execution perspective, but pr(1) now compiles WARNS=6 clean.
* #include <sys/time.h> before <sys/stat.h> to get timespec.phk2002-06-211-0/+1
|
* Skip fields in the manner required by POSIX, and the way V7 did it.tjr2002-06-211-10/+8
| | | | MFC after: 1 week
* Newline characters should not participate in line comparisons. Only apparenttjr2002-06-211-4/+22
| | | | | | | when -s is used or the last line of the file is missing a newline. Noticed by the textutils test suite. MFC after: 1 week
* Give a C rewriter the necessary credit.ru2002-06-211-3/+9
| | | | Requested by: Daniel Papasian <dpapasia@andrew.cmu.edu>
* This commit adds basic support for the UFS2 filesystem. The UFS2mckusick2002-06-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filesystem expands the inode to 256 bytes to make space for 64-bit block pointers. It also adds a file-creation time field, an ability to use jumbo blocks per inode to allow extent like pointer density, and space for extended attributes (up to twice the filesystem block size worth of attributes, e.g., on a 16K filesystem, there is space for 32K of attributes). UFS2 fully supports and runs existing UFS1 filesystems. New filesystems built using newfs can be built in either UFS1 or UFS2 format using the -O option. In this commit UFS1 is the default format, so if you want to build UFS2 format filesystems, you must specify -O 2. This default will be changed to UFS2 when UFS2 proves itself to be stable. In this commit the boot code for reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c) as there is insufficient space in the boot block. Once the size of the boot block is increased, this code can be defined. Things to note: the definition of SBSIZE has changed to SBLOCKSIZE. The header file <ufs/ufs/dinode.h> must be included before <ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and ufs_lbn_t. Still TODO: Verify that the first level bootstraps work for all the architectures. Convert the utility ffsinfo to understand UFS2 and test growfs. Add support for the extended attribute storage. Update soft updates to ensure integrity of extended attribute storage. Switch the current extended attribute interfaces to use the extended attribute storage. Add the extent like functionality (framework is there, but is currently never used). Sponsored by: DARPA & NAI Labs. Reviewed by: Poul-Henning Kamp <phk@freebsd.org>
* Fix a bug fixed by NetBSD in revision 1.42 of parse.c by christos which causedjmallett2002-06-201-0/+8
| | | | | | | an example Makefile I was showing someone just last night to report a variable as being recursive. Obtained from: NetBSD
* More unsigned char casts to isupper(3).jmallett2002-06-201-2/+2
| | | | Obtained from: NetBSD
* Provide a heuristic for RCS conflicts.jmallett2002-06-201-2/+9
| | | | Obtained from: NetBSD
* Look for wildcards, and balanced meta-characters such as { and } like NetBSDjmallett2002-06-201-2/+18
| | | | | | does. Obtained from: NetBSD
* Expand a buffer to reduce diffs to NetBSD.jmallett2002-06-201-2/+2
| | | | Obtained from: NetBSD
* Diff reduction for great justice against NetBSD, cast to unsigned char whenjmallett2002-06-204-18/+18
| | | | passing an argument to isspace(3).
* Whitespace fixes to line-up EOL escapes whose right-most extraints changed injmallett2002-06-201-15/+15
| | | | the previous revision due to the biggest line changing.
* Cast sp to uintptr_t when doing a compare of it to STACKMAX which is a size_t.jmallett2002-06-202-5/+5
| | | | This messes up some indentation in mdef.h for some macros.
* Style: put static qualifier on definition of static functions.tjr2002-06-201-7/+7
|
* time(1) does not use the shell to execute the specified utility, removetjr2002-06-201-6/+2
| | | | sentence stating it did.
* Make it obvious that command line arguments may be specified for the utilitytjr2002-06-202-10/+11
| | | | | that is to be invoked on the command line. Use "utility" instead of "command" in manual page and usage message for consistency with POSIX.
* A function which takes no arguments has an argument list spelled (void) in thejmallett2002-06-202-2/+2
| | | | world of ANSI C.
* Make locate.updatedb tell about the security risk when it is run as root.eivind2002-06-191-0/+5
|
* Fix a memory leak from previous commit by freeing the possibly expandedjmallett2002-06-191-2/+8
| | | | | string at the first opportunity, being sure to now always allocate the new string from VarPossiblyExpand. Oops.
OpenPOWER on IntegriCloud