bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ls default time style


From: Paul Jarc
Subject: Re: ls default time style
Date: Tue, 11 Dec 2001 13:58:11 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu)

"Eli Zaretskii" <address@hidden> wrote:
> From: address@hidden (Paul Jarc)
>> > I believe Paul was referring to Dired in Emacs, in which case your advice
>> > is hard to follow: Emacs both displays the `ls' output _and_ parses
>> > it,
>>
>> It could call ls in the POSIX locale and then reformat the
>> easily-parsed date in the local hard-but-unnecessary-to-parse format.
>
> I'm not sure I understand how; could you elaborate?  Specifically, how
> did you envision the reformatting form the Posix to the local format?

Emacs would parse the information out of the POSIX format, and then
format it for the current locale just as ls would have.  Other
options: call ls twice, once in the current locale, for display, and
once in POSIX, for parsing; or scrap ls and use directory-files and
file-attributes.


paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]