Re: Single digit dates

From: Jan-Frode Myklebust (janfrode@PARALLAB.UIB.NO)
Date: Tue Jan 07 2003 - 15:54:50 EST


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