From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: *** X-Spam-Status: No, score=3.0 required=5.0 tests=DATE_IN_PAST_12_24, DKIM_INVALID,DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,FROM_SUSPICIOUS_NTLD_FP, PDS_OTHER_BAD_TLD autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 21927 invoked from network); 18 Jun 2021 10:24:54 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 18 Jun 2021 10:24:54 -0000 Received: from out0.migadu.com ([94.23.1.103]) by 1ess; Thu Jun 17 14:10:22 -0400 2021 To: 9front@9front.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=itwont.work; s=key1; t=1623952972; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4ir+OI7yEYj8k90Wmv5c2IvLW9lHaX51UefaRN8Iq3E=; b=Kuf1aCPRL8gulCQ/U/lgZx8nl0EtYj7T7oBZ+L2aeq0BgJwBKQytV10ykmmpl5OICk9woN pDJMm2Eth744YAXFyTdpd6zuj43EO/RzH+AiBuwbdL4IMTbUUFAwEKwb7KRuudBE4m/esN 6XyXQ3TVPzWRkdOrHZKeVymgls1EQk/y3FX/WrpOkkzAHeKI0lgGPI8cMCtR3fSzZlse6J Q6rVxhAYja+UuYTtKX2rwJOuyd4x3A2jkjrjwrq4qQip3AvtbVqMOwI8WlcYdGEfomR8tr oLXlXAPPFPKLQGncemx6REW+eppnMeCUPz1KgTSW3fJ9pES9AjnRrmupDRsLAg== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: nihilazo Message-ID: Date: Thu, 17 Jun 2021 19:02:48 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: nico@itwont.work List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: virtualized blockchain scripting service Subject: [9front] Document -f option of `date` command (patch) Reply-To: 9front@9front.org Precedence: bulk This is the first time I've ever submitted a patch to 9front so please tell me if I've got anything wrong! I couldn't find a style guide for manpages so I copied how existing ones were formatted the best I can. --- //.git/fs/object/1da1ac52d201bdc6656b91a4b1792581120b2d09/tree/sys/man/1/date +++ sys/man/1/date @@ -6,6 +6,9 @@ [ .I option ] [ +.B -f +.I format +] [ .I seconds ] .br @@ -16,6 +19,8 @@ .B Tue Aug 16 17:03:52 CDT 1977 .PP +Or the format specified by the format option. + The options are .TP .B -u @@ -33,6 +38,13 @@ .TP .B -m Report the date as an email compatible (RFC2822) time stamp. +.TP +.B -f +Print using the format specified by the +.I format +string rather than the default. Format strings are in the format used by +.IR tmdate (2) + .PP The conversion from Greenwich Mean Time to local time depends on the .B $timezone @@ -65,3 +77,5 @@ .B /sys/src/cmd/date.c .br .B /sys/src/cmd/clock.c +.SH "SEE ALSO" +.IR tmdate (2)