Ed Schouten
b7946da96b
Build usr.bin/ with WARNS=6 by default.
...
Also add some missing $FreeBSD$ to keep svn happy.
2010-01-02 10:27:05 +00:00
Xin LI
3cd983c5b9
egetopt.c does not use any stdlib.h definations, nor it referenced any
...
symbol from other module, so remove reference of stdlib.h and extern.h.
Verified with: md5(1)
2009-12-13 04:34:51 +00:00
Xin LI
821df508e8
Revert most part of 200420 as requested, as more review and polish is
...
needed.
2009-12-13 03:14:06 +00:00
Xin LI
6f2d322192
Remove unneeded header includes from usr.bin/ except contributed code.
...
Tested with: make universe
2009-12-11 23:35:38 +00:00
John Baldwin
444ec0d5f5
Fix misspelled 'argument' and try to make the sentence into English.
...
Submitted by: Andre Guibert de Bruet andy at siliconlandmark dot com
2005-10-26 17:37:54 +00:00
Ruslan Ermilov
6c7216df78
Sort sections.
2005-01-18 13:43:56 +00:00
Ruslan Ermilov
a866e17077
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
Philippe Charnier
bd5de41339
No capital letter after :
2004-07-26 20:24:59 +00:00
Tim J. Robbins
4f45d81178
Document missing multibyte character support in utilities specified
...
by POSIX.
2004-07-03 01:28:21 +00:00
Jens Schweikhardt
d64ada501a
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
...
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
David Malone
f4ac32def2
ANSIify function definitions.
...
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
2002-09-04 23:29:10 +00:00
Philippe Charnier
a228302fca
Make egetopt() return -1 not EOF, as getopt(3) do.
...
Reviewed by:markm
2002-06-23 20:42:30 +00:00
Philippe Charnier
dfe2d6470a
add DIAGNOSTICS section
2002-06-23 09:48:25 +00:00
Mark Murray
e0761ab1e6
Modernise this code by rounding up the usual suspects: register keyword,
...
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.
2002-06-21 10:14:57 +00:00
Tim J. Robbins
06b959916f
Don't convert a single space before a tab stop into a tab when the
...
-i option is used.
2002-06-19 01:45:03 +00:00
Juli Mallett
032b32ada6
Add P1003.1-2001 -f and -p options.
...
PR: standards/36243
Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
Reviewed by: mike
MFC after: 2 weeks
2002-03-31 18:44:36 +00:00
Warner Losh
d3cb5ded92
remove __P
2002-03-22 01:33:25 +00:00
Chris D. Faulhaber
96c066cc83
Ensure err is a useful value to prevent using fputs() with a NULL stream.
...
MFC after: 1 week
2002-02-17 20:53:56 +00:00
Garrett Wollman
bc14f117e1
Cross-reference rs(1), the general array re-shaper. (pr(1) is commonly used
...
to display text in columns even when the other formatting pr does is not
desired.)
MFC after: 1 week
2001-09-21 02:57:56 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Ruslan Ermilov
625003720a
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
Dima Dorfman
70d51341bf
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
Andrey A. Chernov
77b898c43a
Use nl_langinfo instead of %Ef
2001-03-21 14:32:02 +00:00
Ruslan Ermilov
47dec78170
mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.
2001-02-13 09:56:35 +00:00
Jeroen Ruigrok van der Werven
1a6e52d0e9
Fix typo: seperate -> separate.
...
Seperate does not exist in the english language.
2001-02-06 11:21:58 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Ruslan Ermilov
d6801b5c51
Fixed typo: .FL -> .Fl
2000-11-06 09:29:17 +00:00
Sheldon Hearn
87faa07bec
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
Kris Kennaway
d68e2acd95
The -s option was broken (missing braces around an else clause).
...
Noticed by: Thomas Stromberg <tstromberg@rtci.com>
Obtained from: OpenBSD
1999-12-04 03:19:15 +00:00
Andrey A. Chernov
b549b54135
%Ex -> %Ef
1999-11-30 19:44:33 +00:00
Andrey A. Chernov
4bf9895e55
Change meaning of newly introduced -L option - it helps lpr later
1999-11-30 15:09:26 +00:00
Andrey A. Chernov
b5076d918c
Localize it
1999-11-30 09:41:01 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Bruce Evans
375557fcad
Don't assume that time_t is long.
1998-06-29 17:06:00 +00:00
Philippe Charnier
b637dfa85f
Cosmetic and typos.
1997-08-04 06:39:19 +00:00
Warner Losh
1c8af87873
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Peter Wemm
c115df18cd
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Marc G. Fournier
ebcf24fb2b
Fixes:
...
When you ask pr to use form feeds at the end of pages and specify a page
length and tell pr to not put the fancy headers and footers on each
pages, then pr will not separate the pages with a form feed.
Closes PR: bin/1237
Submitted by: Warner Losh <imp@village.org>
1996-10-22 05:02:01 +00:00
Wolfram Schneider
b8923d4cc0
[HISTORY] command appeared in Version 1 AT&T UNIX
...
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
1996-08-29 18:06:19 +00:00
Andrey A. Chernov
f34b5369b7
Remove wrong LC_TIME env. usage
1995-10-24 05:56:45 +00:00
Rodney W. Grimes
7799f52a32
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00