SUMMARY: LC_TIME

From: Frati, Louis <lrf-corp_at_Kaman.com>
Date: Thu, 24 Apr 2003 11:13:48 -0400

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
 
Received on Thu Apr 24 2003 - 15:14:57 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT