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: LC_TIME Date: Wed, 23 Apr 2003 13:20:47 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <1E4B06029E11D211B47C0000F8207F4D013D44CF@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 1051118529 10470 80.91.224.249 (23 Apr 2003 17:22:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Apr 2003 17:22:09 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Apr 23 19:22:06 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 198Nv8-0002cD-00 for ; Wed, 23 Apr 2003 19:20:34 +0200 Original-Received: (qmail 17698 invoked by uid 5); 23 Apr 2003 17:21:23 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 17658 invoked by uid 49493); 23 Apr 2003 17:21:23 -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.396399 secs); 23 Apr 2003 17:21:23 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 23 Apr 2003 17:21:22 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HDT00AU147HZB@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Wed, 23 Apr 2003 13:21:22 -0400 (EDT) Original-Received: from mail.Kaman.com (bob.kaman.com [149.158.3.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HDT00CG347CIW@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Wed, 23 Apr 2003 13:21:12 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.kaman.com by kaman.com (PMDF V6.1 #46283) id <01KV2GWAPM8G001JMP@kaman.com> for Tru64-UNIX-Managers@ornl.gov; Wed, 23 Apr 2003 13:21:04 -0400 (EDT) Original-Received: from eskc2.kaman.com ([149.158.3.137]) by kaman.com (PMDF V6.1 #46283) with ESMTP id <01KV2GW5A6OM002MZF@kaman.com> for Tru64-UNIX-Managers@ornl.gov; Wed, 23 Apr 2003 13:20:49 -0400 (EDT) Original-Received: by ESKC2 with Internet Mail Service (5.5.2653.19) id ; Wed, 23 Apr 2003 13:20:49 -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:4041 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4041 Hi, I checked the archives and read whatever I was able to find on setting LC_TIME and I still need help. Basically what I would like to do is be able to do an "ls -l" and display the date portion in numerics. locale -ck LC_TIME displays this: LC_TIME abday="Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat" day="Sunday";"Monday";"Tuesday";"Wednesday";"Thursday";"Friday";"Saturday" abmon="Jan";"Feb";"Mar";"Apr";"May";"Jun";"Jul";"Aug";"Sep";"Oct";"Nov";"Dec " mon="January";"February";"March";"April";"May";"June";"July";"August";"Septe mber";"October";"November";"December" d_t_fmt="%a %b %e %H:%M:%S %Y" d_fmt="%m/%d/%y" t_fmt="%H:%M:%S" am_pm="AM";"PM" era= era_d_fmt="" era_year="" t_fmt_ampm="%I:%M:%S %p" era_t_fmt="" era_d_t_fmt="" alt_digits="" so it appears like I have all the pieces, so how do I do the "ls" command? and how would I change the LC_TIME variable to reflect a numeric MDY? TIA Lou Frati Sr. Systems Administrator Kaman Corporation 1332 Blue Hills Ave. Bloomfield, Ct 06002 (860) 286-4158