git: 65b22ee09319 - stable/13 - date.1: Examples: Use syntax that is also compatible with csh
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 Oct 2023 11:23:40 UTC
The branch stable/13 has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=65b22ee0931970896f1189e9f620d9895f9d4070 commit 65b22ee0931970896f1189e9f620d9895f9d4070 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2023-02-27 16:34:00 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-10-04 10:51:32 +0000 date.1: Examples: Use syntax that is also compatible with csh MFC after: 1 month Sponsored by: Klara Inc. (cherry picked from commit de7a6b6fd04ee686364883a817a4b707e3567d27) --- bin/date/date.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/date/date.1 b/bin/date/date.1 index 850e37bba0ac..39a314214da6 100644 --- a/bin/date/date.1 +++ b/bin/date/date.1 @@ -31,7 +31,7 @@ .\" .\" @(#)date.1 8.3 (Berkeley) 4/28/95 .\" -.Dd May 31, 2022 +.Dd February 27, 2023 .Dt DATE 1 .Os .Sh NAME @@ -453,7 +453,7 @@ will display .Pp Finally the command: .Pp -.Dl "date -j -f ""%a %b %d %T %Z %Y"" ""`LC_ALL=C date`"" ""+%s""" +.Dl "date -j -f ""%a %b %d %T %Z %Y"" ""`env LC_ALL=C date`"" ""+%s""" .Pp can be used to parse the output from .Nm