From owner-freebsd-questions@FreeBSD.ORG Mon Sep 22 22:27:09 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC0A316A4B3 for ; Mon, 22 Sep 2003 22:27:09 -0700 (PDT) Received: from mail.mi.celestial.com (dagney.celestial.com [192.136.111.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29B9643FBF for ; Mon, 22 Sep 2003 22:27:09 -0700 (PDT) (envelope-from bill@celestial.com) Received: by mail.mi.celestial.com (Postfix, from userid 203) id 841CD11EB14; Mon, 22 Sep 2003 22:27:03 -0700 (PDT) Date: Mon, 22 Sep 2003 22:27:03 -0700 From: Bill Campbell To: FreeBSD Questions List Message-ID: <20030923052703.GA5221@alexis.mi.celestial.com> Mail-Followup-To: FreeBSD Questions List References: <20030923050750.GA38213@users.munk.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030923050750.GA38213@users.munk.nu> User-Agent: Mutt/1.4.1i Subject: Re: Unix timestamp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2003 05:27:09 -0000 On Tue, Sep 23, 2003, Jez Hancock wrote: >Is there a native FreeBSD shell util for returning the time in seconds >since the Unix epoch? date(1) doesn't seem to do this, only the >converse with the -r switch: perl -e 'print time . "\n"' Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ The is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein