Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 1998 11:24:43 -0500
From:      Robert Beer <r-beer@onu.edu>
To:        Dean Hollister <dean@odyssey.apana.org.au>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Expire field in master.passwd?
Message-ID:  <l03102845b14abd8efa0f@[140.228.15.35]>
In-Reply-To:  <Pine.BSF.3.96.980403141550.29598A-100000@odyssey.apana.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <r-beer@onu.edu>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l03102845b14abd8efa0f>