Re: Single digit dates

From: Herman, Tim [CC] (Tim.Herman@MAIL.SPRINT.COM)
Date: Wed Jan 08 2003 - 12:32:50 EST


Stupid question but, did you export the variable?

-----Original Message-----
From: Zebrouvis, Lois [mailto:zebrouvis@PPG.COM]
Sent: Wednesday, January 08, 2003 8:09 AM
To: aix-l@Princeton.EDU
Subject: Re: Single digit dates

LANG=C versus LANG=en_US does change it for me on my 4.3.3 ML 8 system

-----Original Message-----
From: Frye, Matthew [mailto:Matthew.Frye@REXHEALTH.COM]
Sent: Tuesday, January 07, 2003 5:57 PM
To: aix-l@Princeton.EDU
Subject: Re: Single digit dates

LANG doesn't change it on my AIX 4.3.3 and I have no -n option. "ls" is not
aliased either.

> ----------
> From: Jan-Frode Myklebust[SMTP:janfrode@PARALLAB.UIB.NO]
> Reply To: IBM AIX Discussion List
> Sent: Tuesday, January 07, 2003 3:54 PM
> To: aix-l@Princeton.EDU
> Subject: Re: Single digit dates
>
> On Tue, Jan 07, 2003 at 03:19:59PM -0500, Frye, Matthew wrote:
> > I've got two servers (both AIX 4.3.3) which exhibit dates differently.
> For
> > example, the first server shows an "ls -l" for any files modified today
> in /
> > as follows:
> >
> > -rw------ 1 root system 6522 Jan 07 15:15 .sh_history
> >
> > But the second system show's the files in / as:
> >
> > -rw------ 1 root system 6458 Jan 7 15:15 .sh_history
> >
> > Does anyone know where or how this property is set?
> >
>
> Most likely trough the LANG environment variable:
>
> % export LANG=C
> % ls -l /etc/shells
> -rw-r--r-- 1 bin bin 111 Apr 8 2001 /etc/shells
> % export LANG=en_US
> % ls -l /etc/shells
> -rw-r--r-- 1 bin bin 111 Apr 08 2001 /etc/shells
> % export -n LANG
> % ls -l /etc/shells
> -rw-r--r-- 1 bin bin 111 Apr 8 2001 /etc/shells
>
>
>
> -jf
>



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:27 EDT