From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Frati, Louis" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: LC_TIME Date: Thu, 24 Apr 2003 11:13:48 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <1E4B06029E11D211B47C0000F8207F4D013D44DD@ESKC2> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1051197242 5853 80.91.224.249 (24 Apr 2003 15:14:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 24 Apr 2003 15:14:02 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Apr 24 17:14:00 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 198iPo-0001UG-00 for ; Thu, 24 Apr 2003 17:13:36 +0200 Original-Received: (qmail 22285 invoked by uid 5); 24 Apr 2003 15:14:26 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 22276 invoked by uid 49493); 24 Apr 2003 15:14:26 -0000 Original-Received: from lrf-corp@Kaman.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.367268 secs); 24 Apr 2003 15:14:26 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 24 Apr 2003 15:14:26 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HDU002L0T01NV@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Thu, 24 Apr 2003 11:14:25 -0400 (EDT) Original-Received: from mail.Kaman.com (bob.kaman.com [149.158.3.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HDU00LK0SZWUS@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Thu, 24 Apr 2003 11:14:21 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.kaman.com by kaman.com (PMDF V6.1 #46283) id <01KV3QRG2CWG002ZRW@kaman.com> for Tru64-UNIX-Managers@ornl.gov; Thu, 24 Apr 2003 11:14:17 -0400 (EDT) Original-Received: from eskc2.kaman.com ([149.158.3.137]) by kaman.com (PMDF V6.1 #46283) with ESMTP id <01KV3QR5QFQ2002M5O@kaman.com> for Tru64-UNIX-Managers@ornl.gov; Thu, 24 Apr 2003 11:13:55 -0400 (EDT) Original-Received: by ESKC2 with Internet Mail Service (5.5.2653.19) id ; Thu, 24 Apr 2003 11:13:55 -0400 Content-return: allowed Original-To: "'Tru64-UNIX-Managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:4055 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4055 Thanks to Bruce Hines for his expertise. Here's what he had me do: 0. mkdir loc (from your home) and cd loc 1. create file called LC_TIME.src will following contents: LC_TIME m_d_recent "%m/%d/%y" m_d_old "%m/%d/%y" END LC_TIME 2. run command "localedef -i LC_TIME.src LC_TIME" 3. create script "vi myls" #!/usr/bin/ksh # # LC_TIME=$HOME/loc/LC_TIME export LC_TIME ls -l What I did for step 3 was put LC_TIME=$HOME/loc/LC_TIME export LC_TIME in my .profile and now I get numeric dates. Also you can do whatever you want in the m_d_recent definition. Thanks again for you help. Lou Frati Sr. Systems Administrator Kaman Corporation 1332 Blue Hills Ave. Bloomfield, Ct 06002 (860) 286-4158