Re: Single digit dates

From: Frye, Matthew (Matthew.Frye@REXHEALTH.COM)
Date: Tue Jan 07 2003 - 17:57:24 EST


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