On Sat, Feb 11, 2006 at 10:22:24PM +0100, Michelle Konzack wrote: > > Anyone know the story behind the apparent change in default 'ls' output > > on Debian - at least compared to all of the other Linux (and Unix) systems > > I have used? > > > > The difference I am referring to is the date format used when the > > '-l' option is used. > > > > For example, "ls -ld ." on the following systems produces: > > SuSE: > > drwxr-xr-x 50 digbyt digbyt 8192 Feb 6 17:28 . > > Gentoo: > > drwxr-xr-x 40 digbyt digbyt 4096 Feb 8 14:35 . > > BSD/OS > > drwxr-xr-x 2 digbyt digbyt 14848 Feb 9 02:05 . > > Solaris: > > drwxr-x--x 16 digbyt staff 1024 Jan 28 08:31 . > > But on Debian: > > drwxr-xr-x 22 digbyt digbyt 2048 2006-02-09 01:55 . > ^^^^^^^^^^^^^^^^ > This is ISO style > > I get on my Debian machine: > > +---[ 'stdin' ]------------------------------------------------+ > | | > | [EMAIL PROTECTED]:/tmp/] ls -ld . | > | drwxrwxrwt 16 root root 28672 11. Feb 22:17 . | > | [EMAIL PROTECTED]:/tmp/] LC_ALL=C ls -ld . | > | drwxrwxrwt 16 root root 28672 Feb 11 22:17 . | > +--------------------------------------------------------------+ > > > > > I know I can produce the traditional format using > > ls -l --time-style=locale > > and the default seems to correspond to > > ls -l --time-style=long-iso > > Not on my systems (Woody, Sarge, Etch and Sid). > > Maybe you have done some configuration?
Nothing other than what was done by the normal install program. Perhaps it is something that results from telling it that I am located in the UK... What is you default locale? Mine is [EMAIL PROTECTED]:~/bin$ locale LANG=en_GB LC_CTYPE="en_GB" LC_NUMERIC="en_GB" LC_TIME="en_GB" LC_COLLATE="en_GB" LC_MONETARY="en_GB" LC_MESSAGES="en_GB" LC_PAPER="en_GB" LC_NAME="en_GB" LC_ADDRESS="en_GB" LC_TELEPHONE="en_GB" LC_MEASUREMENT="en_GB" LC_IDENTIFICATION="en_GB" LC_ALL= The 'LC_ALL=C' certainly produces the traditional format for me as it does for you: [EMAIL PROTECTED]:~$ LC_ALL=C ls -ld . drwxr-xr-x 24 digbyt digbyt 2048 Feb 13 14:16 . It appears to be a Debian locale thing, as exactly the the same locale on my old SuSE and Gentoo systems had no undesireable side effects: [EMAIL PROTECTED]:/home/digbyt> locale LANG=en_GB LC_CTYPE="en_GB" LC_NUMERIC="en_GB" LC_TIME="en_GB" LC_COLLATE=POSIX LC_MONETARY="en_GB" LC_MESSAGES="en_GB" LC_PAPER="en_GB" LC_NAME="en_GB" LC_ADDRESS="en_GB" LC_TELEPHONE="en_GB" LC_MEASUREMENT="en_GB" LC_IDENTIFICATION="en_GB" LC_ALL= [EMAIL PROTECTED]:/home/digbyt> ls -ld . drwxr-xr-x 50 digbyt digbyt 8192 Feb 15 14:28 . If it was intentional, I wonder what the resoning was? What does 'en_GB' produce on your various Debian systems? That might tell me if there is any other factor involved. Regards, DigbyT -- Digby R. S. Tarvin digbyt(at)digbyt.com http://www.digbyt.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]