Ed Schouten
81d01f896b
Use time(NULL) instead of gettimeofday(), because we only need tv_sec.
2010-02-26 13:47:51 +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
Philippe Charnier
bd5de41339
No capital letter after :
2004-07-26 20:24:59 +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
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
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
Andrey A. Chernov
77b898c43a
Use nl_langinfo instead of %Ef
2001-03-21 14:32:02 +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
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
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
Bruce Evans
375557fcad
Don't assume that time_t is long.
1998-06-29 17:06:00 +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
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
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