phk
4c734c0e4d
.Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT
...
PR: 6599
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-05-13 07:57:49 +00:00
charnier
eb81410eba
Restore Lite-2 sccsid. Restore include of sys/param.h.
1998-05-13 07:31:42 +00:00
charnier
c4d26d7f83
Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.
1998-05-06 06:51:42 +00:00
rnordier
c3d6df4e03
Spelling/typo fixes: (preceeded, friday).
1998-04-20 21:06:38 +00:00
jb
4fc699e2cf
Cast a size_t to a long to avoid a gcc warning.
1998-01-25 08:59:08 +00:00
brian
579e751cd3
Add (BSD) copyright headers.
1997-12-21 12:11:13 +00:00
brian
757ccea1a9
Put [+format] at the end of the usage message.
...
Make `date -?' output (pretty much) the same as
the man page
PR: 5269
1997-12-11 02:38:56 +00:00
wosch
1568227e02
Change example from US to international standard date notation.
1997-10-03 18:09:17 +00:00
danny
724c03ee75
Back out suppress '\n' mod.
1997-10-03 12:54:30 +00:00
danny
bec2485994
Add the '-s' flag to the usage string.
1997-10-01 05:44:35 +00:00
danny
9bb9e30596
Add the ability to supress the '\n' at the end of the date printed.
1997-10-01 05:24:08 +00:00
joerg
0f45f2fb69
Fix the broken `date HHMM.SS' handling.
...
PR: bin/4661
Submitted by: blank@sliphost37.uni-trier.de (Sascha Blank)
1997-09-30 20:06:15 +00:00
wosch
fde8a8ec46
spelling corrections.
...
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
jmg
9a7e68ee3a
fix misspelling
...
Submitted-by: Josh Gilliam
Closes PR:4425
1997-08-30 11:06:35 +00:00
brian
be2b748c02
Hint at how to use TZ.
...
Submitted by: grog@lemis.com
1997-08-18 20:27:17 +00:00
brian
0c083de4cc
Remove forgotten debug statement.
1997-08-10 16:37:33 +00:00
brian
e2cda524da
Add "-f fmt date" for specification of the
...
date using strptime(3).
Suggested by: Michael Smith <msmith@atrad.adelaide.edu.au>
Change mm & dd to MM & DD so that they don't
clash with the month.
1997-08-10 16:36:59 +00:00
brian
4f0afc74e1
Change [-DMHW [+|-]val] to [-v [+|-]val[ymwdHM]]
...
Support Hours & Minutes
Add -Wall to Makefile
1997-08-09 22:34:06 +00:00
brian
fdc5ce4a45
Add [-DWMY] flags for date adjustment.
...
Discussed with: freebsd-hackers
1997-08-04 03:37:07 +00:00
charnier
ae2a236f86
Cosmetic change in usage string.
1997-06-06 06:40:06 +00:00
charnier
9b043dcc94
Off by 1 adjustment.
1997-06-02 06:27:00 +00:00
danny
15afdcdb78
Fix typo in comment; Document in an example that years beyond 1999
...
are handled; fix typo in same example.
1997-04-16 05:59:21 +00:00
imp
054f35c222
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-28 15:24:41 +00:00
guido
bb4c208876
Fix buffer overflow
1997-03-10 19:52:12 +00:00
peter
83b3c2c161
Revert $FreeBSD$ to $Id$
1997-02-22 14:13:04 +00:00
jkh
808a36ef65
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
steve
e3fc14f868
Merge Lite2 mods, fix incorrect default string, cleanup
...
use of .Nm macros, and -Wall cleaning.
1996-12-14 05:54:15 +00:00
wosch
ab0ebe585d
[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
ache
a0b8fdd90a
For nonexisten time use proper diagnostic instead of bad format and usage
1996-04-06 01:42:09 +00:00
nate
e2ab02a679
Fix 'stutter' in manpage.
...
The man page for date(1) talks about "a a" maximum, not just
"a" maximum.
Submitted by: Simon Burge <simonb@telstra.com.au> via NetBSD GNATS
1996-03-12 05:30:39 +00:00
ache
6df301ad24
Add setlocale(LC_TIME,...
1995-10-23 20:26:53 +00:00
dg
4f9c80c674
Correct the default format info to indicate "%+".
1995-08-28 10:38:01 +00:00
ache
5ec1f8dfb4
Use %+ to print data using LC_TIME
1995-08-05 23:08:17 +00:00
rgrimes
1888033949
Remove trailing whitespace.
...
Reviewed by: phk
1995-05-30 00:07:29 +00:00
joerg
1fa4f508ae
date(1) didn't emit a final newline if the format had been specified
...
with `+'. This breaks tradition and violates Posix 1003.2.
Discoverd by: luigi@labinfo.iet.unipi.it (Luigi Rizzo)
1995-04-03 20:08:33 +00:00
bde
c73adf1de8
Obtained from: partly from 386BSD-0.1.2.4
...
Fix several bugs involving the obsolescent -d and -t options:
-d 0 and -t 0 were ignored
-t -600 was a usage error
-d 'atoi is not suitable for parsing args' and -t duh were not usage errors
Change some error messages to say which call to settimeofday failed.
Restore casts of NULL in function calls.
Finish conversion to using err() instead of perror().
1994-12-26 12:59:28 +00:00
dg
8722740e7f
Added $Id$
1994-09-24 02:59:15 +00:00
ats
ce729aba5e
Reviewed by:
...
Submitted by:
Oops, overlooked another typo in this man page.
1994-08-28 17:19:58 +00:00
ats
ec07274b9d
Reviewed by:
...
Submitted by:
Correct two typos in the format string usages.
1994-08-28 16:52:46 +00:00
rgrimes
e3cfc8ce61
BSD 4.4 Lite bin Sources
1994-05-26 06:18:55 +00:00