From: "Frati, Louis" <lrf-corp@Kaman.com>
Subject: SUMMARY: LC_TIME
Date: Thu, 24 Apr 2003 11:13:48 -0400 [thread overview]
Message-ID: <1E4B06029E11D211B47C0000F8207F4D013D44DD@ESKC2> (raw)
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
reply other threads:[~2003-04-24 15:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox