[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
find -printf %c
From: |
Dan Jacobson |
Subject: |
find -printf %c |
Date: |
21 May 2002 07:43:11 +0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
I thought find's -printf:
`c'
locale's date and time (Sat Nov 04 12:02:33 EST 1989)
If so, why does ls pick up on the locale and print Chinese, whilst
find doesn't?
$ ls -l --full-time index.html
-rw-r--r-- 1 jidanni jidanni 1047 二 05 21 07:25:51 2002 index.html
$ find index.html -printf "%c\n"
Tue May 21 07:25:51 2002
Oh, because it is easy not to remember that
" Below are the formats for the directives `%A', `%C', and `%T', "
because it doesn't appear on the same page as 'c', one might think 'c'
is '%c' which it apparently also is... anyways, I tried "%Tc" and the
locale still isn't there though it is for ls.
I am purposely not doing
$ env
for your reference.
I am telling you that GNU ls has a different locale standard than GNU find.
--
http://jidanni.org/ Taiwan(04)25854780
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- find -printf %c,
Dan Jacobson <=