aboutsummaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* On today's kernels masking with ~KERNBASE is turning out to be lessPeter Wemm2001-08-242-4/+4
| | | | | | | | | than useful. It still hits at least 8 digits. Adjust for reality. This is still not satisfactory for the alpha if you add "-O paddr". Notes: svn path=/head/; revision=82268
* Handle kvm_getprocs() returning nothing. Dont pass -1 to a sizePeter Wemm2001-08-241-1/+1
| | | | | | | for malloc(). Notes: svn path=/head/; revision=82267
* Implement `stty ek` as documented.Dima Dorfman2001-08-231-0/+12
| | | | | | | | PR: 24063 Submitted by: Seth Kingsley <sethk@osd.bsdi.com> Notes: svn path=/head/; revision=82237
* Only capitalise the last `t' in ps's first argument when it'sBrian Somers2001-08-161-1/+5
| | | | | | | | | | actually part of an option argument. Submitted by: Chris Costello <chris@calldei.com> MFC after: 6 weeks Notes: svn path=/head/; revision=81743
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-1514-42/+14
| | | | Notes: svn path=/head/; revision=81687
* mdoc(7) police: s/BSD/.Bx/ where appropriate.Ruslan Ermilov2001-08-144-6/+17
| | | | Notes: svn path=/head/; revision=81622
* Initialize infp at main()Peter Wemm2001-08-131-1/+2
| | | | Notes: svn path=/head/; revision=81602
* Initialize listf at main()Peter Wemm2001-08-131-1/+2
| | | | Notes: svn path=/head/; revision=81601
* Spell "FreeBSD" with "F" and "BSD" in uppercase.Ruslan Ermilov2001-08-131-1/+1
| | | | Notes: svn path=/head/; revision=81588
* Removed duplicate VCS ID tags, as per style(9).Ruslan Ermilov2001-08-132-4/+0
| | | | Notes: svn path=/head/; revision=81586
* mdoc(7) police: join split punctuation to macro calls.Ruslan Ermilov2001-08-104-14/+12
| | | | Notes: svn path=/head/; revision=81462
* can not -> cannotSheldon Hearn2001-08-081-1/+1
| | | | Notes: svn path=/head/; revision=81298
* mdoc(7) police:Ruslan Ermilov2001-08-074-25/+18
| | | | | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block. Notes: svn path=/head/; revision=81251
* o Correctly define rcsid.Mike Barcroft2001-08-0610-182/+158
| | | | | | | | | | | | | | o Add consts where appropriate. o Rename some variables that were shadowing global declarations. o Remove register storage-classes. o Make errmsg a const, so we can just set error messages instead of using sprintf/strcpy. o Set WARNS=2 Reviewed by: bde, des Notes: svn path=/head/; revision=81220
* style(9)David E. O'Brien2001-08-011-1/+1
| | | | Notes: svn path=/head/; revision=80818
* Remove a misplaced space.David E. O'Brien2001-08-011-1/+1
| | | | Notes: svn path=/head/; revision=80795
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. TheSheldon Hearn2001-07-262-3/+3
| | | | | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms> Notes: svn path=/head/; revision=80381
* Break the list of parameter expansions into two lists so thatSheldon Hearn2001-07-231-0/+2
| | | | | | | | | the paragraph introducing the prefix and suffix pattern expansions does not appear as part of the explanation for the string length expansion. Notes: svn path=/head/; revision=80196
* Don't use the pronoun "you".Dima Dorfman2001-07-231-6/+7
| | | | | | | Reviewed by: sheldonh, mpp Notes: svn path=/head/; revision=80187
* Don't put a shell prompt in the example since none of the other manDima Dorfman2001-07-221-2/+8
| | | | | | | | pages do it. Also, don't use brackets to indicate optional options in the example; instead, add a paragraph below the example explaining it. Notes: svn path=/head/; revision=80138
* Add missing closing parenthesis.Ben Smithurst2001-07-211-1/+1
| | | | Notes: svn path=/head/; revision=80074
* Show an example of how to sort a file listing by size. Hopefully thisDavid E. O'Brien2001-07-211-0/+9
| | | | | | | | will reduce the number of people calling for this functionality to be added to ls(1). Notes: svn path=/head/; revision=80072
* Fix style bugs introduced by rev 1.28. No functional changes.Garrett Wollman2001-07-161-11/+12
| | | | Notes: svn path=/head/; revision=79791
* Set WARNS=2 on programs which compile cleanly.Dima Dorfman2001-07-154-0/+4
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=79758
* Remove whitespace at EOL.Dima Dorfman2001-07-1519-135/+135
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-1015-15/+20
| | | | Notes: svn path=/head/; revision=79526
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-092-4/+0
| | | | Notes: svn path=/head/; revision=79454
* Fix the type of the NULL arg to execl()Brian Somers2001-07-093-4/+6
| | | | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> Notes: svn path=/head/; revision=79452
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).Ruslan Ermilov2001-07-062-3/+3
| | | | Notes: svn path=/head/; revision=79366
* Fix warnings on alpha and re-enable WARNS=2.Mike Heffner2001-07-042-13/+18
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=79253
* Argh...this isn't ready for WARNS=2 on alpha.Mike Heffner2001-07-031-1/+0
| | | | Notes: svn path=/head/; revision=79122
* Constify and lockdown with WARNS=2.Mike Heffner2001-07-033-25/+26
| | | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> MFC after: 2 weeks Notes: svn path=/head/; revision=79121
* Use __unused for non-used variables.Brian Feldman2001-06-292-2/+2
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=78985
* Add a note on what happens if the "-p" option is specifiedYaroslav Tykhiy2001-06-291-0/+2
| | | | | | | | | | and a final directory already exists. Reviewed by: freebsd-audit MFC after: 5 days Notes: svn path=/head/; revision=78963
* Back out previous commit: it doesn't help anything since write_file(),Dima Dorfman2001-06-281-2/+2
| | | | | | | | | | | which is also called from handle_hup(), uses stdio(3). Furthermore, this means that calling exit(3) (via quit()) there is required to flush the buffer write_file() was working on. Submitted by: bde Notes: svn path=/head/; revision=78939
* Use the correct printf format to print a long.David Malone2001-06-261-1/+1
| | | | | | | Approved by: cracauer Notes: svn path=/head/; revision=78806
* Previous commit broke dd(1)'s I/O summary when it's terminated by aDima Dorfman2001-06-251-0/+1
| | | | | | | | | | | | signal. Fix it by adding an explicit call to summary() in terminate() (it was previously called implicitly by exit() because summary() was registered with atexit()). summary() is supposed to be signal-safe-- it handles SIGINFO almost exclusively--so this should be safe. Submitted by: bde Notes: svn path=/head/; revision=78755
* Include missing header files which define functions for which gcc hasDima Dorfman2001-06-243-0/+3
| | | | | | | builtins (e.g., exit, strcmp). Notes: svn path=/head/; revision=78732
* Don't call exit(3) from a signal handler.Dima Dorfman2001-06-242-4/+3
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=78688
* Remove duplicate words.Dima Dorfman2001-06-241-1/+1
| | | | Notes: svn path=/head/; revision=78686
* WARNS= -> WARNS?=Dima Dorfman2001-06-2215-15/+15
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=78624
* Add more headers that are required with -fno-builtin (stdlib and strings)Dag-Erling Smørgrav2001-06-195-0/+6
| | | | Notes: svn path=/head/; revision=78469
* <stdlib.h> is needed for exit(3) when building with -fno-builtin.Dag-Erling Smørgrav2001-06-191-0/+1
| | | | Notes: svn path=/head/; revision=78466
* Xref zcat(1).Dima Dorfman2001-06-181-0/+1
| | | | Notes: svn path=/head/; revision=78430
* Check for the PS_SINTR flag in the right field of struct kinfo_procTor Egge2001-06-161-1/+1
| | | | | | | (ki_sflag). Notes: svn path=/head/; revision=78363
* Removed wrong cast for fts_open()'s third argument.Ruslan Ermilov2001-06-131-1/+1
| | | | Notes: svn path=/head/; revision=78170
* Removed the broken code which claimed to lose the set[ug]id bits inBruce Evans2001-06-113-27/+4
| | | | | | | | | | | | | | | | | | | | | | | | the !(pflag && setfile()) case for regular files unless the copy is owned by the same user and group. These bits have already been lost (or never gained) in the correct way. The code didn't actually lose the bits; it depended on them being lost already (apparently in all cases) and attempted to gain them as necessary, but it often gained them (and sometimes collateral bits) when wrong: - pflag && setfile() == 0 case (i.e., for a successful cp -p): setfile() copies all the attributes as correctly as possible (as specified by POSIX), and we sometimes messed up the up the mode by setting it again. Also, if the file is immutable, then setting the mode again gave spurious errors (PR 20646). - !pflag case. If the target is created, POSIX requires it to not have the set[ug]id bits, but we sometimes copied them from the source. If the target already exists, POSIX requires its mode to be unchanged, but we sometimes copied the whole mode from the source. PR: 20646 MFC after: 4 weeks Notes: svn path=/head/; revision=78070
* Use new locale namesAndrey A. Chernov2001-06-107-15/+15
| | | | Notes: svn path=/head/; revision=77987
* Simplify, with the power of new mdoc(7).Ruslan Ermilov2001-06-091-9/+3
| | | | Notes: svn path=/head/; revision=77940