SUMMARY: LC_TIME

From: Frati, Louis (lrf-corp@Kaman.com)
Date: Thu Apr 24 2003 - 11:13:48 EDT


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
 



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:17 EDT