From owner-freebsd-bugs Tue May 16 15:10:01 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA23402 for bugs-outgoing; Tue, 16 May 1995 15:10:01 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA23394 ; Tue, 16 May 1995 15:10:01 -0700 Date: Tue, 16 May 1995 15:10:01 -0700 Message-Id: <199505162210.PAA23394@freefall.cdrom.com> From: alan@epilogue.com Reply-To: alan@epilogue.com To: freebsd-bugs Subject: bin/426: date "+%s" In-Reply-To: Your message of Tue, 16 May 1995 18:03:45 -0400 <199505162203.SAA23270@beandorf.epilogue.com> Sender: bugs-owner@FreeBSD.org Precedence: bulk >Number: 426 >Category: bin >Synopsis: Is 'date "+%s"' supported? >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 16 15:10:00 1995 >Originator: Alan Bawden >Organization: >Release: FreeBSD 2.0-RELEASE i386 >Environment: >Description: In 1.1.5.1, the command 'date "+%s"' prints '800661335' (for some number of seconds). In 2.0, the same command prints 's'. The man page for `date' refers me to the man page for `strftime'. The man page for `strftime' documents `%s' as an "extension". I haven't tried to call `strftime' directly. >How-To-Repeat: >Fix: Change the documentation, or change the code. >Audit-Trail: >Unformatted: