SUMMARY: LC_TIME

From: Frati, Louis (lrf-corp@Kaman.com)
Date: 04/24/03

  • Next message: Pshyk, John: "Additional Info: %CPU Shows "??""
    Date: Thu, 24 Apr 2003 11:13:48 -0400
    From: "Frati, Louis" <lrf-corp@Kaman.com>
    To: "'Tru64-UNIX-Managers@ornl.gov'" <Tru64-UNIX-Managers@ornl.gov>
    
    

    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
     


  • Next message: Pshyk, John: "Additional Info: %CPU Shows "??""