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: Bruno Haible
Subject: Re: ls default time style
Date: Tue, 11 Dec 2001 14:49:52 +0100 (CET)

Eli Zaretskii writes:

> > Programs that wish to parse "ls" output should call in the POSIX
> > locale.
> 
> 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, 
> to know where the file name begins etc.  Since the output is displayed, 
> users want to see it formatted according to the LC_* and LANG variables.

Well, then Emacs dired needs to use some more tricky parsing routines,
rather than relying on the particular POSIX locale output.

But you cannot deduce how "ls" should behave outside of Emacs, by
looking at implementation details of the Emacs dired mode.

Bruno



reply via email to

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