tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: LC_TIME
@ 2003-04-24 15:13 Frati, Louis
  0 siblings, 0 replies; only message in thread
From: Frati, Louis @ 2003-04-24 15:13 UTC (permalink / 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
 




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-24 15:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-24 15:13 SUMMARY: LC_TIME Frati, Louis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox