Linux install problems

Derek Martin invalid at pizzashack.org
Thu Nov 11 09:26:23 EST 2004


On Thu, Nov 11, 2004 at 02:30:41AM -0500, Nathaniel W. Turner wrote:
> John,
> 
> Jeff is mistaken.  The ls command does indeed use YYYY-MM-DD style
> dates when you have the appropriate locale configured (as do many
> other commands):

I have to disagree.  If your system does this, it's not the
traditional expected behavior, and probably is something specific to
either Debian's locales, or with the version of the ls command that
you're using.  See below.

> nturner at codeine(~)$ locale
> LANG=en_US.UTF-8

$ echo $LANG
en_US.UTF-8
$ ls -l numbers.doc
-rw-------  1 ddm ddm 27648 Jul 20 00:49 numbers.doc

Doesn't work here -- not on RH9, and not on FC2.

There is, however, the --time-style= parameter to control how the date
is displayed.

Interestingly, the info documentation for ls suggests that it should
work as you suggest, but at least on RH and related, it doesn't seem
to.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.blu.org/pipermail/discuss/attachments/20041111/e8c0bddc/attachment.sig>


More information about the Discuss mailing list