bug-coreutils
[Top][All Lists]
Advanced

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

Re: tweaking default `ls -l` output to use locale before posix


From: Paul Eggert
Subject: Re: tweaking default `ls -l` output to use locale before posix
Date: Tue, 27 Sep 2005 21:49:18 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Mike Frysinger <address@hidden> writes:

> you want me to give it a spin into the current Gentoo patchset for 
> coreutils-5.3.0 ?

Yes, please, if that's not too much trouble.  The idea here is to get
some real-user experience with --time-style="locale" defaulting to
long-iso if one's locale settings are messed up.  Maybe Gentoo users
never mess up their locales, so they'll never notice any difference;
but that'll be a data point too.  Let's put it this way: if the patch
causes problems with Gentoo users then we can be pretty sure that it
won't fly elsewhere and we should fix it before committing to it.


> too bad you cant jump to case labels ;)

Yes, well, my first version of the code looked like this:

   case long_iso_time_style:
        long_iso_time_style:

with a "goto long_iso_time_style;" elsewhere.  That's perfectly valid
and portable C.  But I decided it was too weird even for me.




reply via email to

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