Gentoo Archives: gentoo-user

From: Willie Wong <wwong@×××××××××.EDU>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: ls date was: Bizarre etc/cfg-update problem
Date: Sat, 07 Jan 2006 18:15:35
Message-Id: 20060107181044.GA26437@princeton.edu
In Reply to: Re: [gentoo-user] Bizarre etc/cfg-update problem by Holly Bostick
1 On Sat, Jan 07, 2006 at 04:17:11PM +0100, Penguin Lover Holly Bostick squawked:
2 > (how do you get ls to also include the @#$%#$ *year*??)
3
4 Sorry, couldn't help with the rest of your problem, but I think it is
5 assumed that ls will display the year only for files older than a year
6 old. Quite clever, in my opinion.
7
8 Of course, you can also pass it the --full-time option, but the result
9 gets rather ugly:
10
11 [01:09 PM]wwong lunar-2.1 $ ls -l
12 total 96
13 -rw-r--r-- 1 wwong root 91 Aug 11 1992 Makefile
14 -rwxr-xr-x 1 wwong root 27121 Jul 14 21:53 lunar
15 -rw-r--r-- 1 wwong root 2938 Aug 11 1992 lunar.1
16 -rw-r--r-- 1 wwong root 1731 Jun 21 1991 lunar.bitmap
17 -rw-r--r-- 1 wwong root 18447 Aug 11 1992 lunar.c
18 -rw-r--r-- 1 wwong root 22096 Jul 14 21:53 lunar.o
19 -rw-r--r-- 1 wwong root 11140 Aug 11 1992 tables.h
20 [01:09 PM]wwong lunar-2.1 $ ls --full-time
21 total 96
22 -rw-r--r-- 1 wwong root 91 1992-08-11 00:14:48.000000000 -0400 Makefile
23 -rwxr-xr-x 1 wwong root 27121 2005-07-14 21:53:10.000000000 -0400 lunar
24 -rw-r--r-- 1 wwong root 2938 1992-08-11 00:14:48.000000000 -0400 lunar.1
25 -rw-r--r-- 1 wwong root 1731 1991-06-21 02:35:16.000000000 -0400 lunar.bitmap
26 -rw-r--r-- 1 wwong root 18447 1992-08-11 00:14:48.000000000 -0400 lunar.c
27 -rw-r--r-- 1 wwong root 22096 2005-07-14 21:53:09.000000000 -0400 lunar.o
28 -rw-r--r-- 1 wwong root 11140 1992-08-11 00:14:48.000000000 -0400 tables.h
29
30 HTH,
31
32 W
33 --
34 One man's vacuum is another man's sewer.
35 ~N. Milleron
36 Sortir en Pantoufles: up 56 days, 10:27
37 --
38 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: ls date was: Bizarre etc/cfg-update problem Holly Bostick <motub@××××××.nl>