From owner-freebsd-questions Fri Apr 3 08:27:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA25869 for freebsd-questions-outgoing; Fri, 3 Apr 1998 08:27:46 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from postoffice.onu.edu (postoffice.onu.edu [140.228.10.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA25823 for ; Fri, 3 Apr 1998 08:27:26 -0800 (PST) (envelope-from r-beer@onu.edu) Received: from [140.228.15.35] (asterion.onu.edu [140.228.15.35]) by postoffice.onu.edu (8.8.5/8.8.5) with ESMTP id LAA07850; Fri, 3 Apr 1998 11:24:44 -0500 (EST) Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 3 Apr 1998 11:24:43 -0500 To: Dean Hollister , FreeBSD Questions From: Robert Beer Subject: Re: Expire field in master.passwd? Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 1:16 AM -0500 4/3/98, Dean Hollister wrote:>Is there any easy way to decode the expiry date in command-line >environment, or from within a bash script? You might try this perl script: #!/usr/local/bin/perl require "ctime.pl"; print &ctime($ARGV[0]),"\n"; $ ctime 720893149 Wed Nov 4 11:05:49 1992 --- Bob Beer Ohio Northern University, Academic Computer Services, Ada, OH 45810 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message