aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-Jung Chang <maluma110020036@gapp.nthu.edu.tw>2024-01-12 01:58:35 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2024-02-13 11:00:59 +0000
commit8e9fc2d9f657f99ae368524868dd04080bc390bf (patch)
tree107bcf35b57706808fef49561a45510cc41d15e2
parent416fdc2d71656e2f0b4a16828fb0c736ae32b74a (diff)
downloadsrc-8e9fc2d9f657f99ae368524868dd04080bc390bf.tar.gz
src-8e9fc2d9f657f99ae368524868dd04080bc390bf.zip
date(1): Grammar fixes
Event: Advanced UNIX programming course (Fall'23) at NTHU Pull Request: https://github.com/freebsd/freebsd-src/pull/1035
-rw-r--r--bin/date/date.16
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1
index 194635e923b3..286b1f45414a 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -223,8 +223,8 @@ day, week day, month or year according to
.Ar val .
If
.Ar val
-is preceded with a plus or minus sign,
-the date is adjusted forwards or backwards according to the remaining string,
+is preceded by a plus or minus sign,
+the date is adjusted forward or backward according to the remaining string,
otherwise the relevant part of the date is set.
The date can be adjusted as many times as required using these flags.
Flags are processed in the order given.
@@ -284,7 +284,7 @@ will be necessary to reach October 29, 2:30.
.Pp
When the date is adjusted to a specific value that does not actually exist
(for example March 26, 1:30 BST 2000 in the Europe/London timezone),
-the date will be silently adjusted forwards in units of one hour until it
+the date will be silently adjusted forward in units of one hour until it
reaches a valid time.
When the date is adjusted to a specific value that occurs twice
(for example October 29, 1:30 2000),